Quotient rule for derivatives: If
and
are differentiable at
and
, then
.
The function is
.
Consider
and
.

Apply derivative on each side with respect to
.

.
Consider
.
Apply derivative on each side with respect to
.

.
Apply quotient rule of derivative:
.
Substitute
,
,
and
.



.
Therefore, the derivative of
is
.
The derivative of
is
.