The function is .
Consider and
.
The function is in the form of composite function .
Consider .
Differentiate on each side with respect to .
Consider .
Differentiate on each side with respect to .
Chain Rule of derivatives: .
Substitute and
in chain rule.
.