Are the polynomials in f(x) = x^3 + 2x^2 + 1 and g(x) = x^2 + x + 1 irreducible in F5[x]? Why or why not?

I'm having trouble checking to see if they are irreducible or not. I know it has something to do with the roots but I'm not too sure. Any help would be appreciated.