Consider the graphs of function f and function g shown at left. What is the value of g(f(2)) ?

Solution: -6
To find g(f(2)), we will start from the inner function first.
f(2) is the value of function f when x=2.
We can easily observe from the graph that f(2) = 0.
Therefore, g(f(2)) = g(0)
g(0) is the value of function g when x=0.
We can easily observe from the graph that g(0) = -6.
Therefore g(f(2)) = -6.