The function is .
Apply derivative on each side with respect to .
.
Apply power rule of differentiation: .
Apply product rule of differentiation: .