Ta có :
\(x+2⋮x+4\)
Mà \(x+4⋮x+4\)
\(\Leftrightarrow2⋮x+4\)
Vì \(x\in Z\Leftrightarrow x+4\in Z;x+4\inƯ\left(2\right)\)
\(\Leftrightarrow\left[{}\begin{matrix}x+4=1\\x+4=2\\x+4=-1\\x+4=-2\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=-3\\x=-2\\x=-5\\x=-6\end{matrix}\right.\)
Vậy ......