The time it takes for a certain object to stop given its initial velocity is calculated by dividing the velocity by the deceleration given. That is,
Time = initial velocity / deceleration
Time = (24 m/s) / (8 m/s2)
The equation above will give us an answer of 3 s.