By definition, the domain of a function is the set of all values for which the function is defined. And the range is the set of all the values that the function takes.
Then, for the first function, by the arrows on the graph, you can tell that the function continues beyond the grid.
So, the domain of this function is all real numbers.
Looking at the range, you can see that the function takes values from -3, so the range of this function is
For the second function, you can see that the function is defined for values in x from -5 to -1, then the domain of this function is
Looking at the range, you can see that the function takes values from -1 to 2, then the range of this function is
Therefore, the domain and range of the functions is
First function
Second function