The function is
.
Apply derivative on each side with respect to
.

Product rule of derivative:
.

Power rule of derivative :
.



Apply derivative on each side with respect to
.



Observe the equations of
and
.


Apply derivative on each side with respect to
.

.
.