How do you find the derivative of #(x+cosx)/tanx#?