The required equation is y= -4x+34
[tex]\begin{gathered} \text{Slope}=\frac{y_2-y_1}{x_2-x_1}=\frac{6-2}{7-8}=\frac{4}{-1}=-4 \\ \text{The equation of the line is} \\ y-y_1=slope(x-x_1) \\ y-2=-4(x-8) \\ y-2=-4x+32 \\ y=-4x+32+2 \\ y=-4x+34 \end{gathered}[/tex]