Given that the square of x plus x plus 1 equals 0, find the cube of x plus 2 times the square of x plus 2 times x plus 3

Given that the square of x plus x plus 1 equals 0, find the cube of x plus 2 times the square of x plus 2 times x plus 3

x^2+x+1=0
x^3+2x^2+2x+3=(x^3+x^2+x)+(x^2+x+1)+2=0+0+2=2