The slope, m, of a line containing two points and is given by:
Just plug in your coordinates and do the arithmetic. If the denominator happens to come out to zero, then the slope does not exist (rather, the slope is undefined) otherwise the slope is the result of your calculation.