Factorise by grouping method:
x2+y2+x+y+2xy
= (x2 + y2 + 2xy ) + (x + y)
=(x + y)2 + (x + y)
=(x + y)(x + y + 1)