How do you write the equation in slope intercept form given (2, 2), (-1, 4)?
The slope-intercept form of the equation of the line is
Now use the point slope formula to solve for the equation of the line.
For this situation we are given the slope of
If you have two points on a straight line, there is a lovely formula which allows you to get the equation immediately. It is based on the formula for the slope, so you kill two birds with one stone!