Use partial fractions
Let x = -1
Let x = 0
0 = A + B
Substitute in A value
Integrate the sum term by term
Expanding the Integrate
Where s = 1+ x
ds = dx
Substitute s and u values
The solution is