Solving Equations in the Unit Circle