Áp dụng Viét: \(\left\{{}\begin{matrix}x_1+x_2=3\\x_1x_2=-2\end{matrix}\right.\)
\(A=x_1+x_2=3\\ B=x_1^2+x_2^2=\left(x_1+x_2\right)^2-2x_1x_2=3^2-2\left(-2\right)=9+4=13\\ C=x_1^3+x_2^3=\left(x_1+x_2\right)^3-3x_1x_2\left(x_1+x_2\right)=3^3-3\left(-2\right)\cdot3=27-18=9\\ D=x_1^4+x_2^4=\left(x_1^2+x_2^2\right)^2-2x_1^2x_2^2=13^2-2\left(-2\right)^2=161\)