5. X started a journey to a village 9 km away from his house. After travelling 6 km at a speed of 40km/hr., the car stopped running. He then travelled by rickshaw at a speed of 10 km/ hr. After travelling a distance of 2 km, he left the rickshaw and covered the remaining distance on foot at a speed of 4 km/hr. Find the average speed.