Answer
$-2$
Work Step by Step
The relative maximum is a value of $y$ where all the nearby points have smaller or lower $y$-values.
Note that the point $(-2, 4)$ is the highest point on the graph.
Thus, the function $f$ has a relative maximum of $4$ at $x=-2$.