So my complex numbers are:
$$r_1^n = 1+i$$ $$r_2^m = 2-i$$
$$r_1, r_2 \in \mathbb{C} \quad;\quad n,m \in \mathbb{N}$$
I wrote down the general $z^n=r^n(\cos(n\theta)+i\sin(n\theta))$ formula for these, but I don't know what to do after this step to prove these two equations don't have any common solution.
Suppose $n, m \in \mathbb{N}$ are such that
$$ z^n = 1 + i \\ z^m = 2 - i $$
for some complex number $z = r e^{i\theta}$. Note that $n > 0$ and $m > 0$. Taking the absolute value of both equations we get
$$ r^n = \sqrt{2} \\ r^m = \sqrt{5} $$
and so
$$ r^{nm} = \sqrt{2^m} \\ r^{nm} = \sqrt{5^n}. $$
But this implies that
$$ 2^m = 5^n $$
which is impossible since the left hand side is even and the right hand side is odd.