I am trying to find

I flipped it to:

So I believe what I have to do is take the derivative of

Using the chain rule, I get

Since I flipped the integral, I multiply by negative one and get

But this is not the answer. Can anyone see where I went wrong? Thanks for your time