Velocity acquired by body in 10 sec
and distance travelled by it in 10 sec
then it moves with constant velocity (20 m/s) for 30 sec
After that due to retardation (4 m/s2) it stops
So total distance travelled is 750 m.