The function is .
Apply logarithm on each side.
Rewrite the equation
Differentiate above equation implicitly with respect to x.
.
Since Product rule of derivatives
Substitute the value of y in above equation.