

The train is moving with an acceleration a, so the engine of train passes the stationary car with an initial speed u, and the tail of train passes the same car with a different speed, v.

So,using the third equation of motion
v2-u2 = 2aS
S is the distance travel= length of train = 72 m
Given, v= 9 m/sec and u= 6 m/sec
(9)2 -(6)2= 2×a×72
So, acceleration a, =0.3125 m/sec2
Now, using first equation of motion,we get time t
v=u+a×t
9=6+0.3125×t
and t= 9.61 sec
