The only way I could think to integrate
$$\int\arctan{\frac{1}{1 - x}}dx$$
is by parts (g'(x) = dx), but the procedure is – I personally believe – way, way too tedious and time consuming for an exercise that is worth only 1/10 of the total mark.
Is there a better, faster way to integrate that expression? Thank you.
What you can do to shorten things is to write: $$I =\int \arctan\left(\frac1{1-x}\right)\, dx$$ as $$=-\int \operatorname{arccot} (x-1)\, dx$$
Now use the technique of integration by parts to get the required answer.