Answer:
y = x -6
Explanation:
You can start with the slope-intercept form of the equation for a line:
y = mx +b . . . . . . line with slope m and y-intercept b
and rearrange it to help you find the y-intercept:
b = y - mx
For the given point and slope, the y-intercept is ...
b = -8 -(1)(-2) = -8 +2 = -6
Then the equation for a line with slope m=1 and y-intercept b=-6 is ...
y = x -6