We want to find the factorization say of $x^9-1$.
We have that $x^9-1=(x^3-1) (x^6+x^3+1)=(x-1) (x^2+x+1) (x^6+x^3+1)$
$ord_9 (2) \mid \phi(9)=6$
If it would not be irreducible and $ord_9(2)=3$ then we would have $(x-1) (x^2+x+1) f_1 f_2$.
Why in order to check if $x^6+x^3+1$ is irreducible do we calculate $ord_9(2)$ ?