The function is
.
Differentiate the function with respect to
.

Differentiate using the chain rule, which states that
.
Where
.
Let
, then
.
Substitute corresponding values in
.

Subustiute
.

Derivative is
.
The derivative of the function
is
.