I'd like to solve for a complex number $z$ given, say, $$Re(az)=1,\quad Re(bz)=1$$ where $a$ and $b$ are known linearly independent (over $\mathbb R$) complex numbers. We can also assume $|a|=|b|=1$ if that matters.
Of course one can just solve a 2x2 linear system for the real and imaginary parts but I'm wondering if there's a slicker way to solve for $z$.
If $|a| = |b| = 1$, $az$ and $bz$ both have absolute value $|z|$ and the same real part $1$, but are not equal. Therefore they must be complex conjugates: $a z = \overline{bz}$. Writing $z = r e^{i\theta}$, we have $z/\overline{z} = e^{2i\theta} = \overline{b}/a$. One of the two square roots of this is $e^{i\theta}$, and $r = 1/\cos(\theta)$.