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