Find the sum of all values of \(x\) such that \(f(x) = -5.\)
2x + 7 = -5
x = -6
-x^2 - x + 1 = -5
-x^2 - x + 6 = 0
x = -3, x = 2
Sum of solution is (-6) + (-3) + 2 = -7.
sorry but it is incorrect