Express the interval set builder notation

Answer:
{x | -1 < x ≤ 2}
Step-by-step explanation:
Interval given in the notation of (a, b) denotes,
Upper limit at 'b' and lower limit at 'a'
Sign () denotes the interval between a and b exclusive of the numbers a and b.
Interval given as [a, b] represents,
a = lower limit
b = higher limit
Notation of [] show the interval inclusive of these numbers.
Given set in the question is (-1, 2]
Here (-1) is the lower limit and 2 is the upper limit.
(] notation shows exclusive of (-1) and inclusive of 2.
Therefore, solution set in set-builder notation will be {x | -1 < x ≤ 2}