The slope-intercept form of a linear equation is given by:
Where m is the slope and b is the y-intercept.
To calculate the slope, we can use the formula below with the given two points:
Now, to find the value of b, let's use the point (2, -1) in the equation:
Therefore the equation is y = -3x + 5.