Factor completely

w^2+9-6w

Is this right?

(w-3)(w-3)

you got it!!