\(x.y+2y+x=6\)
\(\Rightarrow y.\left(x+2\right)+\left(x+2\right)-2=6\)
\(\Rightarrow y.\left(x+2\right)+\left(x+2\right)=8\)
\(\Rightarrow\left(x+2\right).\left(y+1\right)=8\)
\(\Rightarrow\left(x+2\right).\left(y+1\right)\inƯ\left(8\right)=\left\{1;2;4;8\right\}\) mà : \(x+2\ge2\)
\(\Rightarrow\) \(x+2=2\Rightarrow x=0\)
\(y+1=4\Rightarrow y=3\)
\(\Rightarrow x=0;y=3\)