I suspect you mean "exponentiation." w 4 by itself is meaningless; you probably meant w^4, where the "^" represents exponentiation.
Thus, your post should read: 6w^3 - w^4. Although you could factor w^4 out of both terms, doing so would not improve your answer.