Let \(f(x) = \begin{cases} 9x+16 &\text{if }x<2, \\ 2x-14&\text{if }x\ge2. \end{cases} \)If \(f(x)=-2\), find the sum of all possible values of x.
9x + 16 = -2
9x = -18
x = -2 This one will not work because it is the piece of the function for x < 2 this answer is EQUAL to -2
2x - 14 = -2
2x = 12
x = 6 this is it
6