The function is .
Substitute .
Apply derivative on both sides.
Substitute and .
(since )
We know that .
We know that then
Substitute , and
Therefore .