P(x)=f(x3)+xg(x3)
P(1)=f(1)+g(1)...(1)
Now P(x) is divisible by x2+x+1
⇒P(x)=Q(x)(x2+x+1)
P(ω)=0=P(ω2) where ω,ω2 are non-real cube roots of units
P(x)=f(x3)+xg(x3)
P(ω)=f(ω3)+ωg(ω3)=0
f(1)+ωg(1)=0...(2)
P(ω2)=f(ω6)+ω2g(ω6)=0
f(1)+ω2g(1)=0...(3)
Now, (2)+(3)
⇒2f(1)+(ω+ω2)g(1)=0
2f(1)=g(1)...(4)
Now, (2)−(3)
⇒(ω−ω2)g(1)=0
g(1)=0=f(1) from (4)
from (1), P(1)=f(1)+g(1)=0