"A car is traveling at 50 mi/h when the brakes are fully applied, producing a constant deceleration of 22 ft/ . What is the distance covered before the car comes to a stop?"

I know that the antiderivative of the acceleration is the velocity, and the antiderivative of the velocity is its distance, but I need help on how to derive the equations from this word problem.