The general equation of line passes through the point (x_1,y_1) and has slope m is,
[tex]y-y_1=m(x-x_1)[/tex]Determine the equation of line passing through point (-2,8) and has slope of 2.
[tex]\begin{gathered} y-8=2(x-(-2)) \\ y=2\cdot x+2\cdot2+8 \\ y=2x+12 \end{gathered}[/tex]So answer is y = 2x + 12.