Step-by-step explanation:
the domain is the interval or set of all valid x (input) values.
the range is the interval or set of all valid y (function result) values.
so, we see here, x goes from -2 to +2.
and y stays between -5 and -1.
the hole point at (-2, -1) means the point itself is not included. the full point (2, -1) means the point itself is included.
the domain is
-2 < x <= +2
"-2 < x" because (-2, -1) is not included.
"x <= +2" because (2, -1) is included.
the range is
-5 <= y <= -1
"y <= -1" because for the included point (2, -1) y can reach -1, even though (-2, -1) is excluded.