The graph of a function f(x) is shown. If a new function g(x) is defined as g(x)=f(x)−4, what is the sum of the x-intercepts of g(x)?
4
6
8
10