Exercise calculus.differentiation.quotient

Description
Use the quotient-rule to find the derivative of a polynomial. Only remove parentheses in the numerator.

Derivation

Final term is not finished
((x-2)*D(x) (x+1)-x*D(x) (x-2)-D(x) (x-2))/(x^2-4*x+4)
calculus.differentiation.deriv-of-poly
((x-2)*D(x) (x+1)-x*D(x) (x-2)-1)/(x^2-4*x+4)