What is the equation for the line in slope intercept formEnter your answer in the box

Hello!
First, let's write two points that this line passes through:
• A = (-4, 4)
,• B = (-2, 0)
Now, we will have to use the formula below to calculate the slope:
[tex]\text{Slope}=\frac{y_B-y_A}{x_B-x_A}[/tex]So, let's replace the values in the formula:
[tex]\text{Slope}=\frac{0_{}-4_{}}{-2-(-4)}=\frac{-4}{-2+4}=\frac{-4}{2}=-2[/tex]As we know the slope, we have to calculate the y-intercept.
We can use the slope-intercept form to obtain it:
[tex]\begin{gathered} y=mx+b \\ -2=-2\cdot0+b \\ -2=b \\ b=-2 \end{gathered}[/tex]So, we know that:
• Slope: -2
,• Y-intercept: -2
Let's write the equation of the line in slope-intercept form:
[tex]\begin{gathered} y=mx+b \\ y=-2x-2 \end{gathered}[/tex]Answer:y = -2x -2