The equation is only valid if acceleration is constant. The given velocity graph clearly shows that acceleration is different over each lettered interval.

FYI, on a velocity vs. time graph, displacement is the area between the graph and the t-axis. Area above the t-axis is positive displacement, area below is negative displacement. Algebraically sum the positive and negative displacements to get the total displacement.