Answer: y = 3x - 8
Step-by-step explanation: If you’re given two points that lie on a line, and you’re asked to write the equation of the line, your first task will be to find the slope of that line using the slope formula.
The slope formula is m = y₂ - y₁ / x₂ - x₁
Substituting our points in, we have -17 - -2 / -3 - 2 which is -15/-5 or 3.
So the slope of our line is 3 which can be used with either one of our
two points to write the equation of the line in point-slope form.
So let's go with the point (2, -2).
Point-slope form is written y - y₁ = m(x - x₁).
Since we're using the point (2, -2), y - y₁ would be y - -2 or y + 2.
Now, m would be 3 and x - x₁ would be x - 2.
So we have y + 2 = 3(x - 2).
To put this equation into slope-intercept form, we would first distribute
the 3 through the parentheses which gives us y + 2 = 3x - 6.
Move the number to the right side of the equation by
subtracting 2 from both sides and we have y = 3x - 8.
So the equation of the line would be y = 3x - 8.