Please help me correct the answer and Identify what was done wrong

The equation of a line with a given point and a slope is given as :
[tex]\text{Slope, m=}\frac{y_{}-y_1}{x-x_1}[/tex]From the given point in the question;
[tex]x_1=2,y_1=7[/tex]Thus, we have:
[tex]\begin{gathered} 6=\frac{y-7}{x-2} \\ \text{cross}-\text{multiply} \\ y-7=6(x-2) \\ y-7=6x-12 \\ y=6x-12+7 \\ y=6x-5 \end{gathered}[/tex]The equation of the line is y= 6x-5