Sorry if the title isn't very descriptive. It's just that I'm really not sure how to phrase the question.
Anyways here is the question. Let $a$ and $b$ be positive roots of polynomials $(x+1)^2-2$ and $(x+2)^2-5$. Let $c = a+b$. Part one says find a polynomial $p(x) \in Q[x]$ such that $p(c) = 0$. This is extremely simple. However, I'm completely stuck on part two, which says to find a couple of polynomials $q(x), r(x) \in Q[x]$ such that $\frac{q(c)}{r(c)} = a$. No idea how to start. Any help/hint would be much appreciated.