a race car accelerates then decelerates rapidly