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