When calculating the slope, you probably subtracted the denominator in the wrong order. You then used the incorrect slope to find the y-intercept of the line.