a race car decelerates then accelerates