So I tried doing this:
I have $$\int \frac{2-x}{x-1} \mathrm{d} x$$ I used the substitution $u = x-1$, thus $x= u+1$ and $ \mathrm du = \mathrm dx$.
So then our integral becomes $$\int \frac{2-u-1}{u} \mathrm du = \int \left(\frac{1}{u} - 1\right)\mathrm du$$ Then I integrate and get $-u + \ln u$.
But when I substitute $x-1$ for $u$ I obtain $\ln(x-1)-(x-1)$ and that isn't right.
$\displaystyle \frac{2-x}{x-1} = - \frac{x-1}{x-1} + \frac{1}{x-1}$
See what to do now?