How do you differentiate #f(x)=tan(3x-x^2) # using the chain rule?