factor completely. 3w2+18w+27
3(w+3)^2 would be your answer.
3w2+18w+27= 3(w2+6w+9)= 3 (w + 3)^2 (using this formula: (a + b)^2 = a^2 + 2ab + b^2)