A cab driver picks up a customer and delivers her 3.31 km away, driving a straight route. The driver accelerates to the speed limit and, upon reaching it, begins to decelerate immediately. The magnitude of the deceleration is 4.70 times the magnitude of the acceleration. Find the lengths of the (a) acceleration and (b) deceleration phases of the trip.