\(a,x+y=xy\)
\(\Rightarrow x-xy+y-1=-1\)
\(\Rightarrow x\left(1-y\right)-\left(1-y\right)=-1\)
\(\Rightarrow\left(x-1\right)\left(1-y\right)=-1\)
TH1 : \(\hept{\begin{cases}x-1=1\\1-y=-1\end{cases}\Rightarrow\hept{\begin{cases}x=2\\y=2\end{cases}}}\)
TH2 : \(\hept{\begin{cases}x-1=-1\\1-y=1\end{cases}\Rightarrow\hept{\begin{cases}x=0\\y=0\end{cases}}}\)
\(b,xy-x+2\left(y-1\right)=13\)
\(\Rightarrow x\left(y-1\right)+2\left(y-1\right)=13\)
\(\Rightarrow\left(x+2\right)\left(y-1\right)=13\)
TH1 : \(\hept{\begin{cases}x+2=1\\y-1=13\end{cases}\Rightarrow\hept{\begin{cases}x=-1\\y=14\end{cases}}}\)
TH2 : \(\hept{\begin{cases}x+2=13\\y-1=1\end{cases}\Rightarrow\hept{\begin{cases}x=11\\y=2\end{cases}}}\)
TH3 : \(\hept{\begin{cases}x+2=-1\\y-1=-13\end{cases}\Rightarrow\hept{\begin{cases}x=-3\\y=-12\end{cases}}}\)
TH4 : \(\hept{\begin{cases}x+2=-13\\y-1=-1\end{cases}\Rightarrow\hept{\begin{cases}x=-15\\y=0\end{cases}}}\)