x²-y²+5x+3y+4
=(x²+5x+6.25)-(y²-3y+2.25)
=(x+2.5)²-(y-1.5)²
=(x+2.5+y-1.5)(x+2.5-y+1.5)
=(x+y+1)(x-y+4)