write the equation of a line for the following problems

The general equation of a line is
[tex]\begin{gathered} y=mx+c \\ \text{where } \\ m=\text{slope} \\ c=\text{intercept} \end{gathered}[/tex]The given values are
[tex]\begin{gathered} \text{slope}=m=3 \\ \text{Intercept}=c=4 \end{gathered}[/tex]Therefore, the equation of the line will be
[tex]y=3x+4[/tex]Hence,
The equation of the line is y=3x+4