a race car accelerates shifting gears