Let x represent the distance on her way to her friend's house and also the distance travelled on returning
Time = distance/speed
The rate or speed at which Amy dove to her friend's house is 45mph
Time spent in travelling to her friend's house is x/45
The rate or speed at which Amy returned from her friend's house is 50mph
Time spent in travelling returning from her friend's house is x/50
The time for the round trip is the total time spent in going and returning. This means that