I have a test tomorrow and I am doing homework to review and study. The problem is to differentiate $$ x^2 (x-y)^2 = x^2 - y^2. $$ I tried multiple times; however, every time I try I get the incorrect answer. It would be greatly appreciated if somebody could show me the steps on how to get the answer. (No full answer please; I still want to learn).
The answer according to the book is $$ \frac{-2x^3 + 3x^2y - xy^2 + x}{x^y - x^3 + y}. $$
