To determine what the equation would be in slope intercept form, simply substitute the points into the equation.
Y - y1 = M(x - x1) 
Before doing this solve for m, by taking the difference of the y coordinates and dividing that difference  by the difference of the x coordinates.