A car travels for 10s at a steady speed of 20 m/s along a straight road. The traffic lights ahead change to red, and the car slows down with a constant deceleration, so that it halts after a further 8s.