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