How do you differentiate #f(x)=(x^2+x)(x-1)# using the product rule?