how to take derivative with quotient rule