Simplify (-x^2-3x+10)(x^2+x+1)