Both of these are easy if you know the FTC. Part of it says that the derivative of an integral is the original function. When you have bounds from a definite integral you plug in the top bound into f(u) minus the lower bound of f(u). If either bound is not "x" or a constant, you must apply the chain rule and multiply the f(u) by u'.

See this page for some good examples:

The Fundamental Theorem of Calculus