2x^2+y^2+3xy+4x+3y+2
=2x^2+y^2+2xy+xy+2x+2x+y+2y+2
=(2x^2+2xy+2x)+(xy+y^2+y)+(2x+2y+2)
=2x(x+y+1)+y(x+y+1)+2(x+y+1)
=(x+y+1)(2x+y+2)
2x^2+y^2+3xy+4x+3y+2
=2x^2+y^2+2xy+xy+2x+2x+y+2y+2
=(2x^2+2xy+2x)+(xy+y^2+y)+(2x+2y+2)
=2x(x+y+1)+y(x+y+1)+2(x+y+1)
=(x+y+1)(2x+y+2)