Answer:
y =
x -

Explanation:
y = mx +b
You need the slope and the y intercept
The slope is the change in y over the change in x
(-2,-6) (1,2)
The y's are 2 and -6
The x's are 1 and -1
=
=

the slope (m) is

We will use this slope and one of the points to find the y-intercept (b) I will use the point (1,2) Either point will work, but this is nicer without the negative signs to deal with.
m =

x = 1 from the point (1,2)
y = 2 from the point (1,2)
Substitute these all in y = mx + b and solve for b
y = mx + b
2 =
(1) + b
2 =
+ b Subtract
from both sides
2 -
= b
-
= b
= b
y = mx + b
y =
x -
