>>700
x^2+(3y-1)x+(y-2)(2y+1)
=(x+y-2)(x+2y+1)