\(f(x) = \left\{ \begin{array}{cl} 2x + 7 & \text{if } x < -2, \\ -x^2 - x + 1 & \text{if } x \ge -2. \end{array} \right.\)
The sum of all x is 17.