A car accelerates from rest at a stop sign at a rate of 3.0m/s2 to a speed of 21.0m/sand then immediately begins to decelerate to a stop at the next stop sign at a rate of 4.0m/s2. How long did it take the car to travel from the first stop sign to the second stop sign? Show your work.