Compute (d)/(dx)[x^2 sin x] using the product rule