Let $$p(x) = x^4 + 7x^3 + 14x^2 + 7x+1 $$$$q(x) = x^4 +10x^3 + 23x^2 + 10x+1$$
Find polynomials $f(x),g(x)$ with rational coefficients such that $$f(x)p(x) + g(x)q(x) = 2x^2 + 6x +2$$
I totally have no idea to solve this problem... Please help me to do it. Thank you!!