a car accelerating then slows down