The equation of a line in slope-intercept form is given as
![y-y_1=m(x-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/csobd57zth7rh9k4hz9amldzpq2owf0z4j.png)
The slope of the line is 6
Hence, m = 6
Since the line passes through the point (3, 1)
Hence,
![x_1=3,y_1=1](https://img.qammunity.org/2023/formulas/mathematics/college/yq25qmn6u3ajfn1giyfde929y3qy3q2e1c.png)
Substitute the values into the equation
This gives
![y-1=6(x-3)](https://img.qammunity.org/2023/formulas/mathematics/college/iivlb9pz2e5v8w19qj9rpf2186kypq1eky.png)
Simplify the equation
![\begin{gathered} y-1=6x-18 \\ y=6x-18+1 \\ y=6x-17 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/wmn8tsqdgexhu5lf93ommnnoc7cd1mbim9.png)
Therefore, the equation of the line is
![y=6x-17](https://img.qammunity.org/2023/formulas/mathematics/college/g6vugvs3itay58bmobhnzoqvx53g0tlcxf.png)