(x-2)(x+5) =x²+5x-2x-10 =x²+3x-10 (x+3)(x-4) =x²-4x+3x-12 =x²-x-12 x^2-7x+12=(x-3)(x-4) x^2+3x-40=(x+8)(x-5)