.
Let "r" be the rate of the passenger train, in mph.
Then the rate of the freight train is (r-15) mph.
The time the passenger train spent for 180 miles trip was hours.
The time the freight train spent for 120 miles trip was hours.
The condition says that these two amounts of times are equal:
= ("A passenger train traveled 180 miles in the same amount of time it took a freight train to travel 120 miles.")
Solve this equation. For it, multiply both sides by r*(r-15). You will get
180*(r-15) = 120r ---> 180r - 2700 = 120 r ---> 180r - 120 r = 2700 ---> 60r = 2700 ---> r = = 45.
Answer. The passenger train rate is 45 mph. That for the freight train is 30 mph.
Solved.