Write the above thing like this
.
Integrate this by parts
Let .
It is in the form .
Apply the formula
Use the formula
If .
The solution of is
( If )
(If )