How do you differentiate #f(x)=(lnx+3x)(cotx-e^x)# using the product rule?