3X^2+5XY-2Y^2+X+9Y-4
=(x+2y)(3x-y)+x+9y-4
=(x+2y)(3x-y)+(4x+8y-3x+y)-4
=(x+2y)(3x-y)+4(x+2y)-(3x-y)-4
=(x+2y)(3x-y) -(3x-y)+4(x+2y) -4
=(x+2y-1)(3x-y)+4(x+2y-1)
=(x+2y-1)(3x-y+4)
3X^2+5XY-2Y^2+X+9Y-4
=(x+2y)(3x-y)+x+9y-4
=(x+2y)(3x-y)+(4x+8y-3x+y)-4
=(x+2y)(3x-y)+4(x+2y)-(3x-y)-4
=(x+2y)(3x-y) -(3x-y)+4(x+2y) -4
=(x+2y-1)(3x-y)+4(x+2y-1)
=(x+2y-1)(3x-y+4)