Let $f(x)$ and $g(x)$ be two monic cubic polynomials, and let $r$ be a real number. Two of the roots of $f(x)$ are $r+1$ and $r+7$. Two of the roots of $g(x)$ are $r + 3$ and $r + 9,$ and$$f(x) - g(x) = r$$for all real numbers $x.$ Find $r.$
So far, I have $$f(x)=(x-r-1)(x-r-7)(x-p)$$ and $$g(x)=(x-r-3)(x-r-9)(x-q).$$ From $f(x)-g(x)=r$, I know that their constant terms differ by $r$. I expanded the two functions but it was too complicated. I also plugged in $x=r+1,r+7,r+3,r+9$ into $f(x)-g(x)=r$, but it didn't do much.
Thanks in advance!!!!!
Hint: We have $f(r+3)=r$ (why ?) and $p=\frac{9}{8}r + 3$ easily follows. Then, $f(r+9)=r=-2r + 96$. Can you finish from there ?