The rise is the difference in y-coordinates:
The run is the difference in x-coordinates:
The slope is the quotient of rise over run:
========================
If two points on a line are A(10, −3) and B(12, 9), the rise is 12, and the run is 2, so the slope of the line is 6.