I'm having difficulties with this problem: Find $p, q$ such that polynomial $P(x) = 6x^4 - 7x^3 + px^2 + 3x + 2$ is divisible by $x^2 - x + q$.
I'm aware of the Bezout's Theorem, but I don't know how to use it in this problem optimally. I've tried finding "solutions" for $x^2 - x + q$ and representing it as $(x-x_1)(x-x_2)$ where $x_1, x_2$ are solutions to this equation, and the only thing left is to check if $P(x_1) = 0$ and $P(x_2) = 0$, but I'm not sure if it's the most optimal (or even a correct) way to solve this problem.