What is the derivative of (x-1)^2 (x+2)?