The integral is .
Take out common term of constant.
Let .
.
Differentiate on each side with respect to .
Substitute and in the integral.
Property of integral:
Substitute in the above equation.