Imagine an object is moving in one dimension on a number line, and for this we'll say that the numbers on the line are a metre apart. If the object moves from 2 m to 7 m, the change in position is 7-2=+5 metres. But if the object moves back from 7 m to 2 m, the change in position is 2-7=-5 metres. since

, and time is always positive, velocity will be positive in one direction and negative in the other direction.