In the numerator, we can factor out $2x$ from the first two terms and $1$ from the last two terms. In the denominator, we can factor out $y$ from the first two terms and $-w$ from the last two terms.
$$
\frac{2 x y+2 x w+y+w}{2 x y+y-2 x w-w} = \frac{2x(y+w) +
Show more…