Hey there! :)
(0, 2) & (-1, -2)
Slope-intercept form is : y=mx+b , where m=slope, b=y-intercept
First, we must find the slope using the slope formula, which is :
m = y2-y1/x2-x1
Where y2 = -2 ; y1 = 2 ; x2 = -1 ; x1 = 0
Now, let's plug and chug! :)
m = (-2 - 2) / (-1 - 0)
Simplify.
m = -4/-1 --> Therefore, our slope is : m = 4
Now that we have the slope, we can plug this (and our original coordinates) into point-slope form, which is : y - y1 = m(x - x1) -> use the coordinates (0, 2)
y - 2 = 4(x - 0)
Simplify.
y - 2 = 4x
Add 2 to both sides.
y = 4x + 2
Hope this helped! :)