Answer
Refer to the image below for the graph.
Work Step by Step
RECALL:
The graph of an equation of the form $y=k$ is a horizontal line whose y-intercept is $k$.
The given equation has $k=2$ therefore its graph is a horizontal line whose y-intercept is $2$.
The points on the line share the same y-value of $2$.
This means that the line contains the points $(-2, 2)$, $(0, 2)$, and $(2, 2)$.
To graph $y=2$, plot the three points then connect them using a line.
(refer to the attached image in the answer part for the graph)