Derivative of Integral with variable bounds

Solution 1:

Yes is correct, remember that $$\frac{d}{dx}\int_{g(x)}^{f(x)}h(t)\,dt=h(f(x))\cdot f'(x)-h(g(x))\cdot g'(x) $$

this is by the second theorem of calculus and by chain rule.