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