The function is .
Apply derivative on each side with respect to .
Apply formula: .
.
Again apply derivative on each side with respect to .
Apply product rule of differentiation: .
In this case and .