Using the substitution $t=x-2$, it suffices to factor $t^5 + t+1$.
But $t^2+t+1$ divides $t^5+t+1$. Why?
$t^2+t+1 = (t-\zeta)(t-\zeta')$, where $\zeta,\zeta'$ are the primitive $3rd$ roots of unity, and thus $\zeta^5 + \zeta + 1 = \zeta^2 + \zeta + 1 = 0$, similarly for $\zeta'$.
Now, the quotient $(t^5+t+1)/(t^2+t+1)$ is easily determined via polynomial division.
_Alternative solution._ Using $t^3-1=(t^2+t+1)(t-1)$, we get: $$t^5+t+1=(t^5-t^2)+(t^2+t+1)=(t^3-1)t^2 + (t^2+t+1)$$ $$=(t^2+t+1)(t-1)t^2 + (t^2+t+1) = (t^2+t+1)((t-1)t^2+1)$$