An electric vehicle starts from rest and accelerates at a rate a1 in a straight line until it reaches a speed of v. The vehicle then slows at a constant rate a2 until it stops.
(a) How much time elapses from start to stop?
(b) How far does the vehicle move from start to stop? Give your answers in terms of the given variables.