The graph of a function is shown in the figure.30110X-101What is the value of the function for =2?

The function's value for x = 2 is the point (y-coordinate) on the graph corresponding to x = 2.
If you go to x = 2, then go to the function, it is located at y = -2.
Hence, the value of the function for x = 2, is:
-2