The function is .
First way by expanding :
Use the integral sum and difference rule .
Second way by u - substitution method :
Let .
Apply derivative on each side .
Substitute .
The answer is same similar in two ways .
Therefore .