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