I am having problems with a couple of integration by parts questions

I have answered but my answer does not agree with the provided answer (which is answer only, no working)

Maybe someone can give me their worked answer so I can compare?

\(\int x\;tan^{-1}x\;\;dx\)

Marcop Oct 5, 2021