A car is moving at a constant speed of 40 km/h along a straight road which heads towards a large vertical wall and makes sharp 900 turn by side of the wall. A fly flying at a constant speed of 100 km/h , starts from the wall towards the car at an instant when the car is 20 km away, flies until it reaches the glasspane of the car and returns to the wall at the same speed. It continues to fly between the car and the wall toll the car makes the 900 turn. What is the total distance the fly has travelled during this period?