Does it require the same method for cos, for example cos(5x) * (cosx)^3

(c) Integrate the indefinite integral 1/((x^2)+4)
I guess this one has something to do with arctan, but I don't know how to start with it.
Could anyone please show me the steps?

Okay, I promise this is the last question....
(d) Integrate the indefinite integral exp(-kz)/(z+iL) where k is a positive constant, such that z=iL is the singularity inside any simple closed contour C(R).

I try to find the residue at z=-iL = (exp(-kz) / first derivative of x+iL and then evaluate everything at z=-iL which gives = exp(-ikL)

Then the required integral is 2*pi*exp(ikL).
But the question is, is that right or have I done anything fundamentally wrong?