Consider two polynomials P(x)=anxn+an−1xn−1+⋯+a1x+a0 and Q(x)=bnxn+bn−1xn−1+⋯+b1x+b0 with integer coefficients such that an−bn is a prime, an−1=bn−1 and anb0−a0bn=0. Suppose there exists a rational number r such that P(r)=Q(r)=0. Prove that r is an integer.