Theo Viet: \(\left\{{}\begin{matrix}x_1+x_2=\frac{\sqrt{3}}{3}=\frac{1}{\sqrt{3}}\\x_1x_2=\frac{\sqrt{3}-3}{3}=\frac{1}{\sqrt{3}}-1\end{matrix}\right.\)
a/
\(x_1^2+x_2^2=\left(x_1+x_2\right)^2-2x_1x_2=\left(\frac{1}{\sqrt{3}}\right)^2-2\left(\frac{1}{\sqrt{3}}-1\right)=\frac{7}{3}-\frac{2}{\sqrt{3}}=\frac{7-2\sqrt{3}}{3}\)
b/ \(\frac{x_1}{x_2}+\frac{x_2}{x_1}=\frac{x_1^2+x_2^2}{x_1x_2}=\frac{\frac{7-2\sqrt{3}}{3}}{\frac{\sqrt{3}-3}{3}}=\frac{7-2\sqrt{3}}{\sqrt{3}-3}=\frac{-15-\sqrt{3}}{6}\)