Assignment:
"Let p1(x) = x^3 + x + 1 and p2(x) = x^3 + s + 2 in F5[x]. F5[x] is ust the set of all polynomials in x with coefficients from the set {0,1,2,3,4} with arithmetic done mod 5. Compute (x+2)^2114 in F5[x]/(p1(x)) and in F5[x]/(p2(x)). The hint is: one of p1(x) and p2(x) is irreducible, the other isn't.
Provide complete and step by step solution for the question and show calculations and use formulas.