Use the Chain Rule to find the derivative.