4: You should get

The second integral is solved using a suitable substitution.

Next hint
Answer