Write the domain and range of g as intervals or unions of intervals

It's important to know that empty circles refer to open intervals or parenthesis.
In this case, we observe that the first interval of the domain is (-1, 1) and the second interval of the domain is (2, 5), so the whole domain would be the union of these two intervals.
[tex]\text{Domain}=(-1,1)\cup(2,5)[/tex]To obtain the range, let's observe the y-values. The function goes from y = -5 to y = 3, so the range would be
[tex]Range=(-5,3)[/tex]