4: You get
It remains to simplify the answer and determine the domain of the integral.
Answer