### Problem 4d

4cd. Find the first and second derivative.

For the first derivative, we need to use the chain rule. Apply the
derivative of the outside function to the inside function and
multiply by the derivative of the inside function.

We do the same thing for the second derivative.