(x+3)^3

This is

(x+3)(x+3)x+3)

so multiplying out two units of (x+3)

(x^2+6x+9)(x+3)

now you do the next step.