The function is
.
Find the derivative of the function by using product rule.
\Product rule of differentiation
.

.
.
Simplify the function by performing multiplication.
\
Differentiate the function with respect to
on each side.

.
In both the methods we are getting the same result.
\ \
.