A car is travelling at 40 m/s. Its brakes are applied and it then decelerates at 8m/s^2. Use a velocity-time graph to find the distance it travels before stopping.