Velocity attained at end of 10 s, v=u+at
=0+0.5×20⇒v=10 m/s
Distance travelled in first 20 s, s1=ut+12at2=12×0.5×202=100 m
Distance travelled in next 20 s, s2=vt=10×20=200 m
Velocity at end of 50 s = 0
So, acceleration in last 10 s, a′=v−ut=0−1010=−1 m/s2
Distance travelled in last 10 s, s3=ut+12at2=10×10+12×(−1)×102
=100−50=50 m
Total distance covered = 100+200+50=350 m