# How do you factor x^2 - 5x + xy - 5y?

Jun 26, 2017

Given: ${x}^{2} - 5 x + x y - 5 y$

Change the grouping:

$\left({x}^{2} - 5 x\right) + \left(x y - 5 y\right)$

Remove common factors from each group:

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

Group into two binomials:

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