Let D be the distance between the cities. Then the time for the trip from A to B ishours. The time for the trip from B to A is hours. The total time for the round trip is = = hours. The length of the round trip is 2D. Hence, the average speed is = = 48 mph.