x/(x-2)- (x+1)/x= 8/(x^2-2x)

notice that x^2 - 2x factors to x(x-2), which are found as the denominators of the first two fractions.

Multiply each term by x(x-2), the rest is easy.