This Is a Certified Answer

Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
Let us assume the train was at rest at the start of the problem then

 v_{initial} = 0

The given data is the final velocity which 20m/s and the distance covered which is 150m. we can solve for the time it took the train to cover 150m by :

s =  \frac{d}{t} \\ 20 =  \frac{150}{t} \\ t =  \frac{150}{20} \\ t = 7.5s

then to get the acceleration;

use the formula :
v_{f} = v_{o} + at \\ 20 = 0 + a(7.5) \\ a =  \frac{20}{7.5} \\ a = 2.67  \frac{m}{s^{2} }