Note that
$$\frac{d}{dx} \left (\int_{a(x)}^{b(x)}f(x,t)dt \right) = f(x,b(x))\cdot b'(x) - f(x,a(x))\cdot a'(x) + \int_{a(x)}^{b(x)} \frac{\partial}{\partial x}f(x,t) dt$$
also known as _differentiation under the integral_.
In your case $a$ and $b$ are both costants, so the first part of the RHS is just zero and you'll get:
$$\frac{d}{dx} \left (\int_{a}^{b}f(x,t)dt \right) = \int_{a}^{b} \frac{\partial}{\partial x}f(x,t) dt$$
This is known as the _Leibnitz rule_.