Challenge 117

The fly and the cyclist

Difficulty level:

Two cyclists, in opposite directions, approached on a straight road, pedaling at 20km / h. When 40km away, a fly lands on one of the bikes, then flies to another. Then the fly keeps coming and going between the two bikes, flying at 30km / h, until the cyclists meet. How far has the fly traveled?