The function is .
Differentiate using the chain rule, which states that .
Where .
Apply derivative on both sides with respect to .
Derivative is .
The derivative of the function is .