How do you solve #tan(x/2)=cscx-cotx#?