Observe the graph y = f(x).
Case1: To find the f(2), So x = 2, To graph, point (2, 3).
Then f(2) = 3.
Case2: To find the f(6), To graph, point (6, 2).
Then f(6) = 2.
f(2) = 3 and f(6) = 2.