If x ^ 2 + X + 1 = 0, then x ^ 20 + x ^ 30 + x ^ 40 =? Please write the solution,

If x ^ 2 + X + 1 = 0, then x ^ 20 + x ^ 30 + x ^ 40 =? Please write the solution,

If so: x ^ 2 + X + 1 = 0
x^2 +x=-1
Thus: {x ^ 2 + X} ^ 10 = {- 1} ^ 10
x^20+x^10=1
prove:
x^20+x^30+x^40
=x^20{1+x^10+x^20}
=x^20*2
=2x^20
The above is my solution