Question 932538
Let t+2 = the time of the slower train
      t = the time of the faster train
   75kph= the speed of the slower train
  125kph= the speed of the faster train

D=rt

Slower train 
D=(75)(t+2)
D=75t+150

Faster train
D=(125)(t)
D=125t

How far from the station M will the faster train catch the slower one?
Distance of Slower train = Distance of faster train
                 75t+150 = 125t
                     150 =  50t
                       3 =  t

The time it took the faster train to catch up with the slower train is 3 hours.

Check
75(3)+150 = 125(3)
225 + 150 = 375
      375 = 375