How do you differentiate #f(x)=(e^x+x)(cot^2x+x)# using the product rule?