6x/x-8 - 7x/x-1 = 5/x(2)-9x+8

/ is fraction
(2) is squared

I will safely assume that you meant

6x/(x-8) - 7/(x-1) = 5/(x^2 - 9x + 8), since x^2 - 9x+8=(x-8)(x-1)

so multiply each term by (x-8)(x-1) , the LCD

6x(x-1) - 7x(x-8) = 5
6x^2 - 6x - 7x^2 + 56x - 5 = 0
-x^2 + 50x - 5 = 0
x^2 - 50x + 5 =0
x^2 - 50x + 625 = -5+625
(x - 25)^2 = 620
x-25 = ± √620
x = 25 ± √620