x³+9x²+26x+24
=(x³+2x²)+(7x²+14x)+(12x+24)
=x²(x+2)+7x(x+2)+12(x+2)
=(x+2)(x²+7x+12)
=(x+2)(x+3)(x+4)