A car travels from city a to b 120 km apart at an average speed of 50 kmph. It then makes a return trip at an average speed of 40kmph. The average speed over the entire 360 km will be