giá trị của x,y có thể là (x+1)=1 hoặc 5
(y-2) =1 hoặc 5
=> x=5-1
x=1-1
y=5+2
y=1+2
Sau những kết quả đó ta thấy đc rằng nếu x=4 thì y=7
nếu x=0 thì y=3
vậy nếu x=4 thì y=7
nếu x=0 thì y =3
\(\left(x+1\right)\left(y-2\right)=5\)
\(\Rightarrow\left(x+1\right),\left(y-2\right)\inƯ\left(5\right)=\left\{1,5\right\}\)
\(\hept{\begin{cases}x+1=1\\y-2=5\end{cases}\Rightarrow\hept{\begin{cases}x=1-1=0\\y=5+2=7\end{cases}}}\)
\(\hept{\begin{cases}x+1=5\\y-2=7\end{cases}\Rightarrow\hept{\begin{cases}x=5-1=4\\y=7+2=9\end{cases}}}\)
Vậy:\(\hept{\begin{cases}x=0\\y=7\end{cases}hoặc}\hept{\begin{cases}x=4\\y=9\end{cases}}\)