I'm trying to solve the equation $$(z+i)^2=(\sqrt3+i)^3$$ but I don't know how to extract the roots $$(z+i)^2=(\sqrt3+i)^3 \rightarrow (z+i)^2=8i \rightarrow z^2+(2i)z-(8i+1)=0$$
$z_{1,2}=-i \pm \sqrt{8i}$.
According to my book the solutions are $2+i$ and $-2-3i$ and I think that they are another way to write them but I don't know how to have them. Can someone help me to understand?
Recast your results,
$$-i \pm \sqrt{8i}=-i \pm 2\sqrt{2i}=-i \pm 2\sqrt{(1+i)^2}=-i \pm 2(1+i)$$
which are $2+i$ and $-2-3i$.