
Area of upper rectangles, which will give us magnitude of the area under the velocity-time graph,
A1=8×2+4×4=32
Area of lower rectangles, which will give us magnitude of the area under the velocity-time graph,
A2=4×2+4×2=16
Therefore,
Displacement=A1−A2=32−16=16Distance=A1+A2=32+16=48
Hence, the required ratio would be
=4816=31
