Respuesta :

x^2+2x+xy+2y
= x(x + 2) + y (x +2)
= (x + 2)(x + y)

hope it helps