Here's another way.
Since \(\displaystyle x^5+x^4+x^3+x^2+x+1 = \dfrac{x^6-1}{x-1}\) the roots of this polynomial are exactly the set \(\displaystyle \{z\in \mathbb{C}-\{1\}\,\,;\,\, z^6=1\}\), i.e. the roots of unity, ignoring the positive real root. They are \(\displaystyle e^{\pm i\pi/3},e^{\pm i2\pi/3}, -1 \).
We want a real factorization obviously, and we can see that the conjugate pair to each root is present (as it should be). Pairing them off we get the (minimal) polynomials for each:
\(\displaystyle (x-e^{i\pi/3})(x-e^{- i\pi/3}) = x^2-x+1\)
\(\displaystyle (x-e^{i2\pi/3})(x-e^{- i2\pi/3}) = x^2+x+1\)
\(\displaystyle x-(-1) = x+1\)
There is an abstract algebra/number theoretic variation of the above that can be performed for the general case too.