Variable $x$ cannot be equal to any of the values $1,2$ since division by zero is not defined. Multiply both sides of the equation by $8\left(x-2\right)\left(x-1\right)$, the least common multiple of $2\left(x-1\right),2\left(x-2\right),8\left(x-1\right)$.