Answer:
See below.
Step-by-step explanation:
The domain is the easier one, becuase it is stated on the right side with the inequalities.
If you consider what x-values are covered by all of these:
[tex]x \leq -2[/tex] combined with [tex]-2 < x \le 3[/tex] combined with [tex]x>3[/tex]
you've covered all the real numbers. Nothing was left out, so the domain is all real numbers.
For the range... Are you graphing this function? Having the graph will make finding the range easier.