Let's use Plato's hint. We need to find all z such that . This equality implies that is a real number, so either or z = ir for some . In the second case, |z| = r and , so . What about the first case?
If we use the polar form, for some . Then , so What restriction does it put on ?