# How do you factor  xy -x + 5y -5 by grouping?

Aug 16, 2016

$\left(y - 1\right) \left(x + 5\right)$

#### Explanation:

Group the terms in 'pairs' as follows.

$\left[x y - x\right] + \left[5 y - 5\right]$

now factorise each pair.

$\textcolor{red}{x} \left(y - 1\right) + \textcolor{red}{5} \left(y - 1\right)$

take out the $\textcolor{b l u e}{\text{common factor}}$ (y -1)

$\left(y - 1\right) \left(\textcolor{red}{x + 5}\right) = \left(y - 1\right) \left(x + 5\right)$