Slope and intercepts
Slope is the change in y divided by the change in x, and in the equation y = mx + b, the constant b represents the y-intercept.
A worked example
For the line passing through (-3, 5) and (1, -7), the slope is (-7 - 5) / (1 - (-3)) = -12/4 = -3.
The mistake people actually make
Subtract the coordinates in the same order in the numerator and the denominator, or the sign reverses. The y-intercept is found by setting x = 0, and the x-intercept by setting y = 0.