factorizar la siguiente expresion (x-1)(x-1+a+y)+ay
(x - 1) (x - 1 + a + y) + ay =
= x² - x +ax + xy - x + 1 - a - y + ay =
= x² - 2x + ax + xy + 1 - a - y + ay