A line has a slope of 2 and passes through the point (-2,8). What is the equation of theline?

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.