Answer:
B) y = x + 2 and y = -x - 4
Step-by-step explanation:
Let the equation of a straight line with x-intercept 'a' and y-intercept 'b' be
[tex] \frac{x}{a} + \frac{y}{b} = 1[/tex]
The line with positive slope has x-intercept a=-2 and y-intercept b=2.
Its equation is:
[tex]\frac{x}{ - 2} + \frac{y}{2} = 1[/tex]
Multiply through by 2
[tex] - x + y = 2[/tex]
Solve for y,
[tex] \boxed {y = x + 2}[/tex]
For the line with a negative slope,
the x-intercept is a=-4 and the y-intercept is b=-4
Its equation is
[tex] \frac{x}{ - 4} + \frac{y}{ - 4} = 1[/tex]
Multiply through by -4
[tex]x + y = - 4[/tex]
Solve for y
[tex] \boxed {y = - x - 4}[/tex]