So we will be using [tex] y=mx+b [/tex] form, in which m = slope and b = y-intercept. Since we know the slope (-8), all we need to do is solve for the y-intercept. We can do this by inserting (-2,2) into the equation and solve for b.
[tex] 2=-8(-2)+b [/tex]
Firstly, do the multiplication: [tex] 2=16+b [/tex]
Next, subtract 16 on both sides, and your answer will be -14 = b
Using the previous info we have, our equation is y = -8x - 14