An electric vehicle starts from rest and accelerates at a rate of 2.0 m/s² in a straight line until it reaches a speed of 20 m/s. The vehicle then slows at a constant rate of 1.0 m/s² until it stops.

(a) How much time elapses from start to stop?

(b) How far does the vehicle travel from start to stop?