Answer:
Rate of the passenger train is
and the rate of the freight train is

Explanation:
Let the speed of the passenger train be

Speed of the freight train be

Note:
If the passenger train overtakes the freight train than at the point both have traveled same distance as they are from the same station.
And

Time taken by the passenger train to reach that point

Time taken by freight train,= (time taken by the passenger train + time elapsed)

Re-arranging the terms.
Distances are same.


Subtracting
both sides.


So the rate of the passenger train is
and the rate of the freight train is
