a red car is moving through the road and gains maximum speed