Two trains are moving with speeds 40 km/hr and 50 km/hr in same direction. Train with speed 40 km/hr