The function is .
Apply logarithm on each side.
Apply logarithm power rule: .
Apply derivative on each side with respect to .
Apply the formula: .
Apply product rule of derivatives: .
.