$$z^2 = ({2e^{i{\frac{\pi}{3}}}})^8$$
To find z I took the square root of both sides which gives me:
$$z = ({2e^{i{\frac{\pi}{3}}}})^4$$ which I rewrote as $$z = {2^4e^{i{\frac{4\pi}{3}}+2k\pi}}$$
and for k=0 we find $$z=-8-8\sqrt(3)$$ which is one of the correct answers but for k=1 we find the same thing. On the other hand the correction states the other answer is $$z=8+8\sqrt(3)$$
I think that I need to put the $$+2k\pi$$ before taking the square root of Z but I don't understand why it changes the answer since mathematically it should be the same?
Because even when I tried with $$z = ({2e^{i{\frac{\pi}{3}}+2k\pi}})^4$$ which I rewrote as $$z = {2^4e^{i{\frac{4\pi}{3}}+8k\pi}}$$ I still don't find the correct second answer.
Thanks
We already know, from real number arithmetic, that taking roots of real numbers is not well-defined: every positive real number has two square roots, two fourth roots, and in general two $k$-th roots for every even integer $k \ge 2$.
The situation in the complex numbers is even worse (or better, depending on your perspective). Every nonzero complex number has two square roots, three cube roots, four fourth roots, etc. Those roots are found using the "$+2k\pi$" method referred to in your question.
You can think of the method like this: when solving an equation like $z^2 = W$, first multiply the right hand side by $e^{2k\pi i}$ to get $z^2 = W e^{2 k \pi i}$; then you may manipulate the exponents as you are used to doing.
So, before you even wrote "I took the square root of both sides", the $+2k\pi$ should have kicked in. Instead you should have written: $$z^2 = (2e^{i\frac{\pi}{3}})^8 \cdot e^{2 k \pi i} $$ and now you are ready to "take the square root" by manipulating exponents. The alternate answer will come from setting $k=1$.
Added to address the comment: The reason this works is because we can explicitly list the two square roots of $1$ using the $+2k\pi$ method. They are: $$e^{(2\pi i)/2} = -1, \quad e^{(4 \pi i)/2} = 1 $$ So, if you've already found one square root of $z$, the other one can be found by multiplying by $-1$.
At the risk of confusing the issue, but with the hope of clarifying it, perhaps you might consider the similar situation with cube roots. The three cube roots of $1$ are $$e^{(2 \pi i)/3} = -\frac{1}{2} + i \frac{\sqrt{3}}{2} $$ $$e^{(4 \pi i)/3} = -\frac{1}{2} - i \frac{\sqrt{3}}{2} $$ $$e^{(6 \pi i)/3} = 1 $$ So, if you have already found one cube root of a complex number, the other two cube roots can be found by multiplying by $-\frac{1}{2} \pm i \frac{\sqrt{3}}{2}$.