It is known that XY + x = - 3, xy-y = 2 Find the value of the algebraic formula - X - [2y-2 (XY + x) ^ 2 + 3x] + 2 [x + (xy-y) ^ 2]

It is known that XY + x = - 3, xy-y = 2 Find the value of the algebraic formula - X - [2y-2 (XY + x) ^ 2 + 3x] + 2 [x + (xy-y) ^ 2]

-x-[2y-2(xy+x)^2+3x]+2[x+(xy-y)^2]=-2(x+y)+2(xy+x)^2+2(xy-y)^2
Because XY + x = - 3, xy-y = 2
There are: XY + X - (xy-y) = - 3-2
So: x + y = - 5
Then substitute: - 2 * (- 5) + 2 (- 3) ^ 2 + 2 (2) ^ 2 = 9