The domain is the set of all point where you can evaluate the function.
As you can see, the first piece is defined from -infinity to 2 (included).
The second piece is defined from 2 to 6 (excluded).
The third piece is defined from 6 (excluded) to +infinity.
So, the domain of the function is composed by all the real numbers which are not 6:

As for the range, it is the set of all values taken by the function. We can see that the first piece spans the y axis from 0 to infinity.
The second piece is constantly equal to 2, so it adds nothing.
The third piece spans the y axis from -2 to -infinity, so the range is

y2-y1
x2-x1
Set up (-3,5) and (7,-9)
Which will be...
Y2=-9
y1=5
X2=-3
X1=7
Put the y coordinates on top of the x coordinates and subtract...
That;s your answer
What is the homework u need help on ?
We can't see what the question is. What is the question. I know it's number four but what are they trying to find
3/1 i think
-----------------