A vehicle accelerates and then slows down