\(\left\{{}\begin{matrix}xy+y+x+1=10\\yz+y+z+1=5\\zx+x+z+1=2\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}\left(x+1\right)\left(y+1\right)=10\\\left(y+1\right)\left(z+1\right)=5\\\left(z+1\right)\left(x+1\right)=2\end{matrix}\right.\)
\(\Rightarrow\left[\left(x+1\right)\left(y+1\right)\left(z+1\right)\right]^2=100\)
\(\Rightarrow\left(x+1\right)\left(y+1\right)\left(z+1\right)=10\)
\(\Rightarrow\left\{{}\begin{matrix}z+1=1\\x+1=2\\y+1=5\end{matrix}\right.\)