solving the equation $x^4-5x^3+11x^2-13x+6=0$ by given condition 1.(a) solve the equation $x^4-5x^3+11x^2-13x+6=0$ , given that two of its roots $p$ & $q$ are connected by the relation $3p+2q=7$
(b) solve the equation $x^4-5x^3+11x^2-13x+6=0$ which has two roots whose difference is $1$
did I need to solve these problems by  taking roots $x_1,x_2,x_3,x_4$ and using the relation between roots and coefficients and the given facts. it will be then a very lengthy process.is there any alternative short process

Let $$f(x) = x^4 - 5x^3 + 11x^2 - 13x + 6$$ We get that $$f(1) = 1 - 5 + 11 - 13 + 6 = 0$$ and $$f(2) = 16 - 5 \times 8 + 11 \times 4 - 13 \times 2 + 6 = 16 - 40 + 44 - 26 + 6 = 0$$
Hence, we have that $$f(x) = (x-1)(x-2)(x^2 + ax + b)$$ Plugging in $x=0$, we get that
$$f(0) = 2b = 6 \implies b = 3.$$ Plugging in $x=3$, we get that $$f(3) = 2(9 +3a+3) = 81-5 \times 27 + 11 \times 9 - 13 \times 3 + 6$$
This gives us that
$$6a + 24 = 12 \implies a = -2$$
Hence, we have that
$$f(x) = (x-1)(x-2)(x^2 - 2x+3)$$
Hence, $$f(x) = 0 \implies x = 1 \text{ or } x= 2 \text{ or }x^2 -2x+3 = 0$$
$$x^2 -2x+3 = 0 \implies (x-1)^2 + 2 =0 \implies x = 1 \pm i\sqrt{2}$$
Hence, the roots are $$x=1,2,1 \pm i \sqrt{2}$$
