The distance from Town X to Town Y is 900 miles.
Given to us,
- Average speed from Town X to Town Y = 50 mph,
- Average speed from Town Y to Town X = 40 mph,
- Average speed for round trip = 45 mph,
- Time taken is
hour more if taken the round trip.
Assumption
Let the distance between town X and town Y be x.
Time Calculation
Time is taken for traveling from Town X to Town Y

Time is taken for traveling from Town Y to Town X

Total time = Time is taken for traveling from Town X to Town Y + Time is taken for traveling from Town Y to Town X
Total time =

Time is taken for a round trip at an average speed of 45 mph

Comparison of Time


Hence, the distance from Town X to Town Y is 900 miles.