How do you differentiate #f(x)=(1/(3x))*x*e^x-x*cosx# using the product rule?