Write $x^4+x^3+3x^2+x+2$ as a product of irreducible polynomials in $\mathbb Z_5[x]$.
I only know that the factor can be factored as $(x^2+1)(x^2+x+2)$ but I don't quite understand the concept of a polynomial is reducible modulo every prime . Can someone help me?