#### Answer

$\{x\ |\ \ -2 \lt x\leq 4\ \}$

#### Work Step by Step

Recall the general rules for writing intervals:
An interval may be annotated as
$[a,b],\ (a,b],\ [a,b),\ (a,b),\ (-\infty,b],\ (-\infty,b),\ [a,\infty),\ (a,\infty).$
It contains numbers between the left and right borders. The inequality signs depend on whether a border is included in the set or not.
The bracket "[", or "]" means "border included" and the sign is "$\leq $".
The parenthesis "(" or ")" means "border excluded" and the sign is "$\lt $".
$\pm\infty $ implies "no border", so it is always accompanied by a parenthesis
For example
$[a,b)=\{x\ |\ a\leq x\lt b\ \}$
$(-6,\infty)=\{x\ |\ x\gt-6\ \}$
$(-\infty,3]=\{x\ |\ \ x\leq 3\ \}$
---
Here, the left border, -2, is excluded, so we begin with "$ -2 \lt x ...$"
and the right border $, 4 $ is included, so we finish with "$..., \leq 4$".
$(-2,4]=\{x\ |\ \ -2 \lt x\leq 4\ \}$