Let $p(x)$ be a polynomial such that when $p(x)$ is divided by $x - 19$ the remainder is $99$, and when $p(x)$ is divided by $x - 99$ remainder is $19$. Find the remainder when $p(x)$ is divided by $(x-19)(x-99)$.
I tried using the division algorithm but it can't be done that way, I am looking for ways that can be understood by senior high school student.
Hint: If $p(x)=(x-19)(x-99)q(x)+ax+b$, what do you get if you put $x=19$? And if you put $x=99$?