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