Question

$$-1 < x+1 \leq 2$$

Solve for x

$x\in (-2,1]$