Refer to the image below for the graph.
Work Step by Step
The solutions of the given inequality are the numbers that greater than $-2$ but are less than or equal to $6$. To graph the solutions on a number line, plot a hole (or a hollow dot) at $x=-2$ and a solid dot at $x=6$ (alternatively, a bracket may be used instead of a solid dot and a parenthesis may be used instead of a hole). Then, shade the region between the two. (refer to the attached image in the answer portion above)