Domain and Range are simply the areas where a graph exist.
Domain is in what values of X a Y value exists for, and Range is what vales of Y existences
For example, lets look at number 1:
looking at the graph, we can see that the Y values will all be taken, so the Range is -∞<y<∞
We can also see that all the x values will also be used, so -∞<x<∞
Lets look at 6
As we can see only some of the values are used, and only some x values are legal.
The domain is -1<x<8
and the range is 1<y<7
Lets look at question 2:
as we can see, every x value is used, so the domain is -∞<x<∞
but the range is locked at 2, so the range is simply y=2