Use the graph of f to draw the graph of its inverse function.

Check the final answer first, then review the worked steps.

Answer

B

Reasoning

Points on $f$: $(-2, -1), (0, 0), (2, 4)$.
Points on $f^{-1}$: $(-1, -2), (0, 0), (4, 2)$.
Graph B passes through these points.

Step-by-step solution

The inverse function $f^{-1}$ is obtained by reflecting the graph of $f$ across the line $y=x$. This swaps the coordinates $(x, y)$ of points on $f$ to $(y, x)$ on $f^{-1}$.