y = 3x + 4
Step-by-step explanation:
Linear equation: y=mx+b
m = slope
b = y intercept
Points: (0, 4) and (-2, -2)
To get the slope, we would apply the slope formula:
![m\text{ = }(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/sukh4lu5s7fgiz5v423o6usjd9gul4kfrj.png)
![\begin{gathered} x_1=0,y_1=4,x_2=-2,y_2\text{ = }-2 \\ m\text{ = }(-2-4)/(-2-0) \\ m\text{ = -6/-2} \\ m\text{ = 3} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/krabpqcahn47egc90aqyjxj2klgps2gmfg.png)
To get the y intercept, we would use any of the points and the slope.
using (0, 4) = (x, y)
4 = 3(0) + c
4 = 0 ++ c
c = 4
The linear equation from the points:
y = 3x + 4