We have the following:
the equation have the following form:
[tex]y=m\cdot x+b[/tex]the slope is:
[tex]\begin{gathered} m=\frac{y_2-y_1}{x_2-x_1} \\ m=\frac{-4-8}{-4-0}=\frac{-12}{-4}=3 \\ m=3 \end{gathered}[/tex]now, b:
[tex]\begin{gathered} 8=3\cdot0+b \\ b=8 \end{gathered}[/tex]therefore:
[tex]y=3x+8[/tex]