You have to take into account that for is...
Kind regards
It seems that you're not expected to use a) to evaluate the integral. The simplest way anyway is probably to expand the numerator, and perform the Euclidian division of by (like with integers, you know?), and get something like hence your integral equals . The first term is easy, the second term has antiderivative , and the third one relates to arctan.
For the second part, you probably have to write hence and integrate.