Slope is defined as the change in y over the change in x:

In the picture below, they have plotted two points that are on the line. We can use those two points in the slope formula.

The slope is 2 or

. For every 2 points you move the Y direction, you move 1 once in the X direction.