a race car speeds up and then decelerates