The function is .
Apply derivative on each side with respect to .
.
Chain rule of derivatives : .
Quotient rule derivatives : .