A car travels for an hour at a speed of 20 km/r, the next two hours at a speed of 65 km/r and the final hour at a speed of 85 km/r. What is the average speed of the car for the entire trip