5: You should get

This is already enough to get the answer. By the way, the second integral is equal to infinity.

Note that you could have guessed the answer without any calculation. For large values of x (close to infinity or also to negative infinity), the given function is about the same as 1/x, which has a divergent integral at infinity (or negative infinity).

Answer