The complete graph of f(x) is shown below. For a real number k, let g(k) be the number of solutions to the equation f(x)=k. What is the average of all distinct values in the range of g(k)?
The answer is 5/2.