For the second
make the substitution so that .
Then the integral becomes
Now remembering that that means and .
Just in case a picture helps with the other...
... where... (key in spoiler)
Do long division to split up the improper fraction,
Don't integrate - balloontegrate!
Balloon Calculus; standard integrals, derivatives and methods
Balloon Calculus Drawing with LaTeX and Asymptote!