Using rational functions solve

(7+ 1)/x = 1/(x-2)

Assuming x≠0 or 2,

(7+1)(x-2) = 1(x)

I suspect a typo, but we will proceed as-is, and you can make any required adjustments and then use the same steps.

8x-16 = x
7x = 16
x = 16/7