x+y=-2
There are infinite solutions to your problem such as:
x=-3, y=1
x=4, y=-6
x=-2, y=0..........etc.
you are right thanks