A driver of a car slows to a stop. The decrease in speed is constant. When the driver first applies the brakes, the car is going 50mi/h. After 5 s the car is traveling 30mi/h. About how long does it take the car to stop?