The equation is .
Apply derivative on each side with respect to .
.
Use differentiation rule .
Here and .