How many sets of integer solutions of equation 2 (2-x) = XY + 1?

How many sets of integer solutions of equation 2 (2-x) = XY + 1?

4-2x=xy+1
xy+2x=3
x(y+2)=3
x=3/(y+2)
∵ x, y are positive integers
Ψ y + 2 = ± 1 or ± 3
The solution is y = - 1, - 3,1, - 5
So there are four groups of integer solutions
I hope it will help you