How do you use the double angle or half angle formulas to solve #tan2x-cotx=0#?