What we know is that the polynomial passes through the points (1,2) and (2,1). This is from the theorem which states that the remainder, when a polynomial P(x) is divided by x-a, is P(a)
The straight line through those two points is such a polynomial.
y=-x+3