y = 3x + 4
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:
[tex]m\text{ = }\frac{y_2-y_1}{x_2-x_1}[/tex][tex]\begin{gathered} x_1=0,y_1=4,x_2=-2,y_2\text{ = }-2 \\ m\text{ = }\frac{-2-4}{-2-0} \\ m\text{ = -6/-2} \\ m\text{ = 3} \end{gathered}[/tex]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