Factor by grouping

X^3+x^2-4x-4

To factor by grouping, we group the terms in pairs:

(x^3 + x^2) + (-4x - 4)

Now, let's factor out the greatest common factor from each pair:

x^2(x + 1) - 4(x + 1)

Notice that we have a common factor of (x + 1) in each term. Let's factor that out:

(x + 1)(x^2 - 4)

Now, let's simplify the second factor:

(x + 1)(x - 2)(x + 2)

Therefore, the fully factored form is (x + 1)(x - 2)(x + 2).