13.269. At the pier, two passengers disembarked from a steamship and headed to the same village. One of them walked the first half of the way at a speed of 5 km/h and the second half at a speed of 4 km/h. The other walked the first half of the time at a speed of 5 km/h and the second half at a speed of 4 km/h, arriving at the village 1 minute earlier than the first. How long did each of them take to cover the entire distance, and what is the distance between the pier and the village?
Solution.

Let $x$ km be the distance between the pier and the village, $t$ h be the time it took the second passenger to walk to the village.

According to the problem, $\left\{\begin{array}{l}\frac{x}{2 \cdot 5}+\frac{x}{2 \cdot 4}=t+\frac{1}{60}, \\ 5 \cdot \frac{t}{2}+4 \cdot \frac{t}{2}=x,\end{array}\right.$

from which $x=6$ km; $t=\frac{4}{3} \text{ h}=1 \text{ h } 20$ min.

Answer: 1 h 21 min; 1 h 20 min; 6 km.