Compute these integrals:

(1)

(2)

(3)

The first problem deals with an integral of a rational function. The other two deal with integrals over the real axis involving trig functions.

I am suppose to do these similar to the examples in my book. However, it is still complicated for me and I don't understand.. Any help would be greatly appreciated, thanks!