The given points are (-2, 4) and (4, 16).
First, we use the slope formula.
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]Let's replace the given points.
[tex]m=\frac{16-4}{4-(-2)})\frac{12}{4+2}=\frac{12}{6}=2[/tex]Once we have the slope, we use the point-slope formula to find the equation.
[tex]y-y_1=m(x-x_1)[/tex]Let's replace the slope m = 2, and the point (-2,4).
[tex]\begin{gathered} y-4=2(x-(-2)) \\ y-4=2x+4 \\ y=2x+4+4 \\ y=2x+8 \end{gathered}[/tex]