The function is .
Apply log on each side.
Apply power rule of logarithms: .
Apply derivative on each side with respect to .
Apply formula: .
Apply product rule of derivatives: .
Substitute .
.