We know that if a polynomial has a complex root then the conjugate is also a root, in this case this means that if the polynomial has a root 8i then the number -8i is also a root. Taking this into account the polynomial that have the roots given would be:

this is a polynomial of degree 4.