x2 + 2x + 4 can be expressed in the form ax2 + bx + c, where a=1, b=2, c=4.
So you will be looking for two numbers that add to 2 [b], and multiply to 4 [ac]. Clearly, there are no two real numbers that can do this. Therefore the expression above cannot be factorised.
x3 + 8 = x3 + 23 = (x + 2)(x2 + 2x + 22) = (x + 2)(x2 + 2x + 4)
It is (x+6)(x-4) when factored
x3 + x2 - 6x + 4 = (x - 1)(x2 + 2x - 4)
x2-2x-24 when factorised = (x+4)(x-6)
x2 - 2x - 24 = (x - 6)(x + 4)
Factor it out: (x+2) squared
(x+6)*(x-4)
(x+4)(x-2)
It is: (x+4)(x-2) when factored
x3 + 8 = x3 + 23 = (x + 2)(x2 + 2x + 22) = (x + 2)(x2 + 2x + 4)
It is (x+6)(x-4) when factored
x3 + x2 - 6x + 4 = (x - 1)(x2 + 2x - 4)
x= -3
x2-2x-24 when factorised = (x+4)(x-6)
x2 - 2x - 24 = (x - 6)(x + 4)
Take out the common factor, 3: 3x + 6 = 3(x + 2).
Factor out a 22(X2 + X - 12)2(X - 3)(X + 4)===========