Answer: 12.6 s
We would use the equation of motion:

where v is the final velocity, u is the initial velocity, a is the acceleration and t is the time taken.
It is given that the lead car has an initial velocity,
. It decelerates with
to stop (v=0). we need to calculate the time taken by the lead car to stop.