The working equation would be Vf (final velocity) = Vi
(initial velocity) + a (acceleration) t (time). The given data are the initial
velocity (5.0 m/s), acceleration (-2.5 m/s^2, negative since it is said to
decelerate) and the final velocity (0 m/s, since it will put to a stop). The
time would be 2 seconds.