In the second starting from rest it travels a distance a and in the next second it travels a distance b in the same direction.