The function is .
Apply derivative on each side with respect to .
.
.
Product rule of the derivative: .
.
.
Apply second derivative on each side with respect to .
.
The Quotient rule of Derivatives: .
Substitute in the above equation.
.