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