A train travels from city a to city b and then to city
c. The distance from a to b is 120 miles and the distance from b to c is 187.5 miles. The average speed from a to b was 40 miles per hour, and the average speed from b to c was 75 mph. What was the average speed from a to c (that is for the entire trip) in miles per hour?