Let f(x) = x^2 - 7x + 18 and let g(f(x)) = -2x + 3. What is the sum of all possible values of g(8)?
g(8) means that we need to find
x^2 - 7x + 18 = 8
x^2 - 7x + 10 = 0
(x - 5) ( x - 2) = 0
Setting each factor to 0 and solving for x gives that x = 5 and x = 2
So
-2(5) + 3 = -7 and -2(2) + 3 = -1
Sum = -7 + -1 = -8