You have the following equation of a line:
-2x + y = -2
In order to find the y and x intercept, you first solve the previous equation for y, just as follow:
-2x + y = -2 add 2x both sides (to cancel out -2x left side)
y = 2x - 2
The previous expression has the form y = mx + b, where m is the slope of the line and b is the y-intercept.
Then, you have that the y intercept is y = -2
To obtain the x intercept make y equal to zero and solve for x, just as follow:
0 = 2x - 2 add 2 both sdies
2 = 2x divide by 2 both sides
2/2 = x
1 = x
Then, the x intercept is x = 1