From the factor theorem that says, "The polynomial P(x) has x-r as a factor if and only if r is a root of the equation P(x) = 0." So if you plugged -1 into the x's in the equation and get 0 back then, x+1 is a factor. Let's do it.

It works. When you plugged -1 into x, you got 0 back and that's what the factor theorem says.
Now let's test it with synthetic division. If we divide x+1 into the original equation and get a remainder of 0, then we should be good. I'll write it up on Paint and upload it.
As you can see, our remainder is 0 and our quotient is

. This is the Factor the Polynomial part that you wanted. We can factor this into (x-8)(x+7). So our 3 roots of the equation are (x+1)(x-8)(x+7)
Hope this helps and i'm so sorry for the long reply. I forgot to put 0x^2 when I was doing synthetic division. :/ and also sorry for the unclear paint image. you can zoom in if you want. it's nothing really important it just shows me doing the synthetic division part where i divide x+1 into the original equation.