x+y= -2 => x= -2-y
xy= -3
x= -2-y
(-2-y)y= -3
-y^2-2y+3=0 inmultim toata ecuatia cu -1
y^2+2y-3=0 si aflam pe y
y^2+3y-y-3=0
y(y+3)-(y+3)=0
(y+3)(y-1)=0
y1= -3 si y2 = 1
pt y= -3=> x= -2+3= 1
pt y= 1 => x = -2-1= -3