The equation is .
Substitute in above equation.
Therefore we have, .
Differentiate on each side with respect to .
Product rule of derivatives: .
Substitute in above expression.
.