Linear equations writing in slope intercept form given 2 points