Let . Then . Rewrite using and .
Let . Find .
By the Sum Rule, the derivative of with respect to is .
Differentiate using the Power Rule which states that is where .
Since is constant with respect to , the derivative of with respect to is .
Add and .
Rewrite the problem using and .
The integral of with respect to is .
Replace all occurrences of with .