Find roots of
$$x^3-(2\sqrt 2+i)x^2 + (4+2i\sqrt 2)x-4i=0$$ knowing that at least one of the roots is from the set $\{i, -i\}$. Write each root in polar form.
I know that since at least one root is from this set, hence ${x}^2 + 1 $ will be a divisor of my initial equation. Usually, I would divide the first one by the second but I came across some difficulties and I don't know what to do.
[EDIT] My assumption was wrong.

Hint. First verify whether $x_0=i$ or $x_0=-i$ is a root ($x^2+1$ is a divisor of the given polynomial iff $x_0=i$ and $x_0=-i$ are roots):
$$(\pm i)^3-(2\sqrt 2+i)(\pm i)^2 + (4+2i\sqrt 2)(\pm i)-4i=0 ?$$ Then divide the cubic polynomial by $x-x_0$. The quotient will be a quadratic polynomial which should be easy to solve.