The integral is
.

Subustiute
and
.
.
Apply the sum and difference rule of integration :
.
.
Consider the first part of integral
.
It is in the form of
.
Where
.
.
Consider the second part of integral
.
Subustiute
.
.
.
Earlier we subustituted
and
.
.

.

.