I have the following congruence $P\equiv x+1\pmod 5,$ $P\equiv3 \pmod {x^2+1}$, $P\equiv 3x\pmod{x-2}$ and I am asked if I can solve it in $\mathbb{Z}[X]$.
I know how to solve it in $\mathbb{Z}$ but in this case I am completely lost. Thanks in advance!