I do realise that.
Are you familiar with the following property:
.
That's the property I used.
If you're familiar with the Fundamental Theorem of Calculus (see post #2) then you will understand why the integral terminals in your question need to be reversed before the integral can be differentiated.