How do you differentiate #g(x) =x^2cotx# using the product rule?