(x+c)^3 or (x+3)(x+3)(x+3)

how do i find the answer?

x^3+9x^2+27x+27