How to find the derivative of y=cotx (Implicit)