The function is
.
Differentiate using the chain rule, which states that
.
Where
.
Let
.
.
Consider
.
Apply the common derivative :
.
Therefore,
.
Now consider
.
Take the constant out :
\
.
Apply the power rule of derivatives :
.

.
.
Substitute back
.

Derivative is
.
The derivative of the function
is
.