\(3x+xy-y=5\)
\(\Rightarrow3x+xy-y-3=5-3\)
\(\Rightarrow x\left(3+y\right)-\left(3+y\right)=2\)
\(\Rightarrow\left(y+3\right)\left(x-1\right)=2\)
Mà \(Ư_2=\left\{\pm1;\pm2\right\}\)
TH1 : \(\hept{\begin{cases}y+3=1\\x-1=2\end{cases}\Rightarrow\hept{\begin{cases}y=-2\\x=3\end{cases}}}\)
Th2 : \(\hept{\begin{cases}y+3=-1\\x-1=-2\end{cases}\Rightarrow\hept{\begin{cases}y=-4\\x=-1\end{cases}}}\)
TH3 : \(\hept{\begin{cases}y+3=2\\x-1=1\end{cases}\Rightarrow\hept{\begin{cases}y=-1\\x=2\end{cases}}}\)
TH4 : \(\hept{\begin{cases}y+3=-2\\x-1=-1\end{cases}\Rightarrow\hept{\begin{cases}y=-5\\x=0\end{cases}}}\)
KL...