6. Two pedestrians are walking towards each other along a straight road at a speed of 5 km/h. The initial distance between them is 10 kilometers. A fly, which flies at a speed of $14 \mathrm{km} / \mathrm{h}$, takes off from the first pedestrian, flies straight to the second, lands on him, and without losing a second, flies back to the first pedestrian, then again to the second, and so on. What distance will the fly have flown by the time the pedestrians meet?
6. If the pedestrians walk at a speed of $5 \mathrm{km} / \mathrm{h}$, they will meet in one hour. In this time, the fly will fly $14 \times 1=14$ km.