2x (x+1) - 5 (x+1) = (x+1)(2x-5) = 2x² - 5x + 2x - 5 = 2x² - 3x -5
14x (2x-1) - 7 (2x-1) = (2x-1)(14x-7) = 24x² - 14x -14x + 7 = 24x² - 24x + 7
3x (x-2) + (x-2)² - 5 (x-2) = (x-2)(3x-5)(x-2) = (3x² - 5x - 6x +10)(x-2) =
= (3x² - 11x +10)(x-2) =
= 3x³ - 11x² + 10x - 6x² + 22x - 20 =
= 3x³ - 17x² + 32x - 20