We can use the principle of work done , because the car finanlly stopped, the work done by the frictional force of the road is equal to the kinetic energy of the car .
F.S = 1/2mv^2
10000(80) = 1/2(1000)v^2 ,where v is the speed of the car just before started to brake
v = 40