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