\(x^2+y^2+z^2=xy+yz+zx\)
\(\Leftrightarrow2x^2+2y^2+2z^2=2xy+2yz+2zx\)
\(\Leftrightarrow\left(x-y\right)^2+\left(y-z\right)^2+\left(z-x\right)^2=0\)
\(\Leftrightarrow\left\{{}\begin{matrix}x=y\\y=z\\z=x\end{matrix}\right.\) \(\Leftrightarrow x=y=z\)
Mà \(x+y+z=6\Leftrightarrow x=y=z=2\)
Vậy....