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