The equation of a line in slope-intercept form is given as
[tex]y-y_1=m(x-x_1)[/tex]The slope of the line is 6
Hence, m = 6
Since the line passes through the point (3, 1)
Hence,
[tex]x_1=3,y_1=1[/tex]Substitute the values into the equation
This gives
[tex]y-1=6(x-3)[/tex]Simplify the equation
[tex]\begin{gathered} y-1=6x-18 \\ y=6x-18+1 \\ y=6x-17 \end{gathered}[/tex]Therefore, the equation of the line is
[tex]y=6x-17[/tex]