Find the remainder when x3 + 3x2 + 3x + 1 is divided by

Find the remainder when image is divided by
image

image
image