Answer:
2.5 s.
Explanation:
The car is travelling initially with a speed of , 
And the deacceleration of the car is, 
The car comes to rest so, final velocity will be zero.
From the first equation of motion.

Here, u is the initial velocity, v is the final velocity, a is the acceleration and t is the time taken.
Put all the variables from above.

Therefore, the time taken by the car comes to rest is 2.5 s.