Compute p'(x) for p(x) = x sin x