Refer to the image below for the graph.
Work Step by Step
The interval $(-\infty, 6]$ contains the real numbers less than or equal to $6$. The interval $(2, 10)$ contains the real numbers between but not including $2$ and $10$. Intersection means getting the elements that are common to both sets. The elements that are common to the two sets are the numbers between 2 and 6, including 6 itself but not $2$. To graph this set, plot a solid dot at 6 and a hole at 2. Then, shade the region between them. (refer to the attached image in the answer part above)