Logic 42

A car sets out on a thirty mile trip and halfway the average speed is 30 mph. At what speed must the car travel so that the overall average speed is 40 mph?