is -2i square root of 2 a solution to x=8?

lets check:

(-2i sqrt 2)^2= -1^2 * 2^2 * i^2 *2
=-8

Answer: no.