x2(x−1)−22x(x−1)+120(x−1)
(x−1)(x2−22x+120)
(x−1)(x2−12x−10x+120)
(x−1)(x(x−12)−10(x−12))
(x−1)(x−10)(x−12)