Given, figure shows the relation between speed and time. So, area of the figure will be displacement.
Therefore, area of first triangular (d1)=21×10×10=50m,
area of second triangular (d2)=21×(−10)×10=−50m
Therefore, total area (d)= total displacement of particle ⇒d1+d2=50−50=0