The function is .
Apply logarithm on each side.
Power property of logarithms : .
.
Apply derivative on each side with respect to .