The breaking car had 10,000 J of kinetic energy before breaking after breaking it had 2000 J of kinetic energy. How much thermal energy did the brakes gain?