>>50
X^2−X−Y^2−3Y−2
=X^2−X−(Y+1)(Y+2)
=(X+Y+1)(XーY−2)