# How do you factor 2 + 2y + x + xy?

$\left(2 + x\right) \left(1 + y\right)$
Collect $y$ btween the second and fourth term:
$2 + x + y \left(2 + x\right)$
$\left(2 + x\right) + y \left(2 + x\right)$
collect $\left(2 + x\right)$
$\left(2 + x\right) \left(1 + y\right)$