Answer:
y + 4 = x
Explanation:
The slope-intercept form of an equation of a line:
![y=mx+b](https://img.qammunity.org/2020/formulas/mathematics/high-school/8nudzfk4b5l0arb9iixag2w8am6zn99zlr.png)
m - slope
b - y-intercept → (0, b).
The formula of a slope:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/fc06wy5n2hf2a0hmyba6df4ibmxk1cn53a.png)
We have the points A(0, -4) → b = -4 and B(6, 2).
Calculate the slope:
![m=(2-(-4))/(6-0)=(6)/(6)=1](https://img.qammunity.org/2020/formulas/mathematics/middle-school/kdxnerlf1si2x15r7rkqtuxc3sovsin5kl.png)
Put the value of m and of b to the equation:
add 4 to both sides
![y+4=x](https://img.qammunity.org/2020/formulas/mathematics/middle-school/8u11wril1oa6qcmmqqv54sn74oojm75arp.png)