To find the value of x for which f(x) = 4 we must find the point (x, 4), first, let's draw a horizontal line at y = 4:
As we can see the horizontal line touches the graph, then it touches the graph we draw a vertical line until we reach the x-axis, where we reach it, it's the value of x:
As we can see, the vertical line reaches x = -4, therefore, f(-4) = 4
Our final answer will be x = -4
b)
Now for f(0) = ?, we must do the same logic, but now we start with a vertical line at x = 0, and goes up until we reach the graph
As we can see it touches the graphic at y = 2, hence, f(0) = 2