Concept:
- \(z^2+z+1=0\) gives \(z=\omega\) or \(\omega^2\) (complex cube roots of unity), so \(z^3=1\) and \(1+z+z^2=0\).
- Hence \(z+\dfrac1z=-1\) and, since \(z^3=1\), \(z^k+\dfrac1{z^k}\) repeats with period \(3\).
Step 1: Evaluate \(z+\dfrac1z\)
Dividing \(z^2+z+1=0\) by \(z\): \(z+1+\dfrac1z=0\), so \(z+\dfrac1z=-1\).
Step 2: Evaluate each bracket
\(z^2+\dfrac1{z^2}=\left(z+\dfrac1z\right)^2-2=1-2=-1\). \(z^3+\dfrac1{z^3}=1+1=2\) because \(z^3=1\). Because \(z^3=1\): \(z^4+\dfrac1{z^4}=z+\dfrac1z=-1\), \(z^5+\dfrac1{z^5}=z^2+\dfrac1{z^2}=-1\), \(z^6+\dfrac1{z^6}=1+1=2\).
Step 3: Square and add
\[ (-1)^2+(-1)^2+(2)^2+(-1)^2+(-1)^2+(2)^2=1+1+4+1+1+4=12 . \]
Step 4: Why the other options fail
The sum has exactly six terms whose values are \(1,1,4,1,1,4\), so it is \(12\). The value \(6\) would result only if the terms with \(z^3\) and \(z^6\) were wrongly taken as \(1\) instead of \(4\), and \(18\) and \(54\) are too large for six terms of this size.
Step 5: Conclusion
The required sum is \(12\). Hence, the correct option is (E).