A car travels the distance between Delhi and Karnal in 3hours. If the distance between the two towns is 120km, what is the average speed of the car?