Hey I tried expanding it, and i got:
p<sup>3</sup>+q<sup>3</sup>+r<sup>3</sup> = 3a<sup>3</sup>+3a<sup>2</sup>b (1+w+w<sup>2</sup>) + 3ab<sup>2</sup>(1+w+w<sup>2</sup>) + 3b<sup>3</sup>
Now 1+w+w<sup>2</sup> = 0
So I got the answer to be:
P<sup>3</sup>+q<sup>3</sup>+r<sup>3</sup>= 3a<sup>3</sup>+3b<sup>3</sup>
=3(a<sup>3</sup>+b<sup>3</sup>)
Which is still not the answer...
[Edit]: Here's the working out to get p<sup>3</sup>+q<sup>3</sup>+r<sup>3</sup> = 3a<sup>3</sup>+3a<sup>2</sup>b (1+w+w<sup>2</sup>) + 3ab<sup>2</sup>(1+w+w<sup>2</sup>) + 3b<sup>3</sup>
p=(a+b)
p<sup>3</sup>=a<sup>3</sup>+3a<sup>2</sup>b+3ab<sup>2</sup>+b<sup>3</sup>
q=w(a+bw)
q<sup>3</sup>=w<sup>3</sup>(a<sup>3</sup>+3a<sup>2</sup>bw+3ab<sup>2</sup>w<sup>2</sup>+b<sup>3</sup>)
q<sup>3</sup>=a<sup>3</sup>+3a<sup>2</sup>bw+3ab<sup>2</sup>w<sup>2</sup>+b<sup>3</sup>
Since w<sup>3</sup>=1
r=w(aw+b)
r<sup>3</sup>=w<sup>3</sup>(a<sup>3</sup>w<sup>3</sup>+3a<sup>2</sup>w<sup>2</sup>b+3awb<sup>2</sup>+b<sup>3</sup>)
r<sup>3</sup>= a<sup>3</sup>w<sup>3</sup>+3a<sup>2</sup>w<sup>2</sup>b+3awb<sup>2</sup>+b<sup>3</sup>
Since w<sup>3</sup>=1
p<sup>3</sup>+q<sup>3</sup>+r<sup>3</sup> = a<sup>3</sup>+3a<sup>2</sup>b+3ab<sup>2</sup>+b<sup>3</sup> + a<sup>3</sup>+3a<sup>2</sup>bw+3ab<sup>2</sup>w<sup>2</sup>+b<sup>3</sup> + a<sup>3</sup>w<sup>3</sup>+3a<sup>2</sup>w<sup>2</sup>b+3awb<sup>2</sup>+b<sup>3</sup>
p<sup>3</sup>+q<sup>3</sup>+r<sup>3</sup> = 3a<sup>3</sup>+3a<sup>2</sup>b (1+w+w<sup>2</sup>) + 3ab<sup>2</sup>(1+w+w<sup>2</sup>) + 3b<sup>3</sup>