The equation of a line with x-intercept b and slope m is given by:
[tex]y=m(x-b)[/tex]Substitute m=3 and b=-2:
[tex]\begin{gathered} y=3(x-(-2)) \\ =3(x+2) \\ =3x+6 \end{gathered}[/tex]Therefore, the equation of a line with slope 3 and x-intercept -2 is:
[tex]y=3x+6[/tex]