## Task 2 - 170612

Two ports A and B, connected by a shipping route of length $240 \mathrm{~km}$, simultaneously dispatched two ships that sailed towards each other on this route, each at a constant speed.

One of the ships developed a speed of $18 \mathrm{~km}$ per hour. After five hours of sailing, the ships had not yet met; however, the length of the part of the route between them was only $45 \mathrm{~km}$.

How many kilometers did the second ship travel on average in each hour?
After 5 hours, the first ship has traveled $5 \cdot 18=90 \mathrm{~km}$.

Since the total distance is $240 \mathrm{~km}$ and the second ship is only $45 \mathrm{~km}$ away after 5 hours, it must have traveled $105 \mathrm{~km}$. This corresponds to a speed of $\frac{105 \mathrm{~km}}{5 \mathrm{~h}}=21 \frac{\mathrm{km}}{\mathrm{h}}$.