Answer:
B) y = x + 2 and y = -x - 4
Explanation:
Let the equation of a straight line with x-intercept 'a' and y-intercept 'b' be
![(x)/(a) + (y)/(b) = 1](https://img.qammunity.org/2021/formulas/mathematics/middle-school/atjnl1c32uwf16b5fdh9zwvt547xqzrrsk.png)
The line with positive slope has x-intercept a=-2 and y-intercept b=2.
Its equation is:
![(x)/( - 2) + (y)/(2) = 1](https://img.qammunity.org/2021/formulas/mathematics/middle-school/fz8atmpxipogdq1obre9vbxdhno0t0oloc.png)
Multiply through by 2
![- x + y = 2](https://img.qammunity.org/2021/formulas/mathematics/middle-school/al3kcv9s7if6fn0td6jf9bwphj107hv64d.png)
Solve for y,
![\boxed {y = x + 2}](https://img.qammunity.org/2021/formulas/mathematics/middle-school/5orzh1yyhyd8uf1e9d3dgq7hhi12yi2296.png)
For the line with a negative slope,
the x-intercept is a=-4 and the y-intercept is b=-4
Its equation is
![(x)/( - 4) + (y)/( - 4) = 1](https://img.qammunity.org/2021/formulas/mathematics/middle-school/nbgt7y7l1jxajmesdq2ii9vo0b99p3jjrq.png)
Multiply through by -4
![x + y = - 4](https://img.qammunity.org/2021/formulas/mathematics/middle-school/8tn6pgy6pqgmln4ddxygdbkpanxzespsoq.png)
Solve for y
![\boxed {y = - x - 4}](https://img.qammunity.org/2021/formulas/mathematics/middle-school/zqtqappof4ee31z4ocutzr3sr0904wgggd.png)