The answer is -15.625m/s².
Acceleration is the change in velocity over a period of time. It can be computed using the formula:
![a = \dfrac{vf-vi}{t}](https://tex.z-dn.net/?f=%20a%20%3D%20%5Cdfrac%7Bvf-vi%7D%7Bt%7D%20)
Where:
vf = final velocity
vi = initial velocity
t = time
Now let's see what was given in your problem:
The car was moving at 25m/s and then came to a stop. So initially it was moving and then it stopped. This means the final velocity will be 0m/s because it stopped moving.
But look at the problem, it shows no time. We need to solve for time from the time it moved till it reached the red light 20 m away.
Time can be computed using the kinematics formula:
![d = \dfrac{vi+vf}{2} *t](https://tex.z-dn.net/?f=%20d%20%3D%20%5Cdfrac%7Bvi%2Bvf%7D%7B2%7D%20%2At)
We just derive the formula from the equation by filling out what we know first.
![20m = \dfrac{25m/s+0m/s}{2}(t)](https://tex.z-dn.net/?f=%2020m%20%3D%20%5Cdfrac%7B25m%2Fs%2B0m%2Fs%7D%7B2%7D%28t%29)
![20m = 12.5m/s{2}(t)](https://tex.z-dn.net/?f=%2020m%20%3D%2012.5m%2Fs%7B2%7D%28t%29)
![\dfrac{20m}{12.5m/s}=t](https://tex.z-dn.net/?f=%20%5Cdfrac%7B20m%7D%7B12.5m%2Fs%7D%3Dt)
![1.6s=t](https://tex.z-dn.net/?f=%201.6s%3Dt)
The time it took from the point it was moving till it stopped is 1.6s. We can now use this in our acceleration formula.
![a = \dfrac{0m/s-25m/s}{1.6s}](https://tex.z-dn.net/?f=%20a%20%3D%20%5Cdfrac%7B0m%2Fs-25m%2Fs%7D%7B1.6s%7D%20)
![a = \dfrac{-25m/s}{1.6s}](https://tex.z-dn.net/?f=%20a%20%3D%20%5Cdfrac%7B-25m%2Fs%7D%7B1.6s%7D%20)
![a = -15.625m/s^{2}](https://tex.z-dn.net/?f=%20a%20%3D%20-15.625m%2Fs%5E%7B2%7D%20)
Notice that the acceleration is negative. This means that the car decelerated or slowed down.