y = mx + b is equation of line in slope intercept form, where m is the slope.
for line y = -x -2, m = -1 so the slope is -1.
Any line parallel to that line will have the same slope.
The equation of the other line in slope intercept forms is y = -x + b. To complete the problem, we need to find b.
We are given that the line passes through (-4,8), so we can plug -4 for x and 8 for y in the above equation to determine b.
8 = -(-4) + b --> b = 4 and y = -x + 4 is the equation of the other line.