You cannot get the slope from one of the coordinates of one of the points. You must first use the slope formula and the two given points to find the slope, m, of the line. Then substitute the coordinates of either point for x and y in the equation , and solve for b.