How do you differentiate #f(x)=cos(xe^(x) ) # using the chain rule?