Fundamental Theorem of Calculus

Need some help with FTC problems. My calculus textbook defines the FTC in two parts:

Definition Part 1:

If is a continuous function on , then the function defined by where

is continous on and differentiable on , and

Definition Part 2:

If is a continuous function on , then where F is any antiderivative of , that is, a function such that

Whew, here are the problems I'm confused on...

Problem 1. Using Part 1 definition, find the derivative of the function:

Problem 2. Using Part 2 defintion, evaluate the integral:

Thanks a lot.