Answer
$a.\quad-2$
$b.\quad-2$
Work Step by Step
The graph of a function is the set containing points $(x,f(x))$,
where x is an element of the domain, and f(x) is the corresponding element of the range,
meaning that we use the horizontal axis for $x$, the domain,
and the vertical axis for $y=f(x)$, the range.
$ a.\quad$
$(1,-2)$ is a point on the graph, so $f( 1)=-2$
$ b.\quad$
$(-2,2)$ is the only point on the graph with second coordinate $2.$
So, $x=-2$ is the only x for which $f(x)=2.$