Find the exact solutions of the problem algebraically: tan 2x-cot x=0