>>90
x^2-3x-y^2-y+2
=x^2-3x-(y^2+y-2)
=x^2-3x-(y-1)(y+2)
=(x+y-1){x-(y+2)}
=(x+y-1)(x-y-2)