What is the total distance travelled till 30 seconds?
30 m
Let's calculate distance travelled in each interval.
During time interval 0 to, d=10m
to , d = 0 m
to t=20, d = 10 m
t = 20 to t = 30, d = 10 m
Total distance = 10 + 0 + 10 + 10
= 30 m