step 1
The equation of the line in slope-intercept form is given by
[tex]y=mx+b[/tex]In this problem we have
m=3
point (5,6)
substitute and solve for b
[tex]\begin{gathered} 6=3(5)+b \\ 6=15+b \\ b=6-15 \\ b=-9 \end{gathered}[/tex]therefore
The equation of the line is
[tex]y=3x-9[/tex]Find out the equation in point-slope form
[tex]y-y_1=m(x-x_1)[/tex]we have
m=3
point (5,6)
substitute
[tex]y-6=3(x-5)[/tex]