Maybe it is supposed to be
f(x) = 2(2)x - 4 ???
If so...
f(0) = 2(2)0 - 4 = 2(1) - 4 = 2 - 4 = -2 So the graph passes through (0, -2) .
f(1) = 2(2)1 - 4 = 2(2) - 4 = 4 - 4 = 0 So the graph passes through (1, 0) .
The first graph passes through (0, -2) and (1, 0) , so it looks right.
Here's a graph of y = 2(2)x - 4