The domain of a graph is the interval over the x-axis where the graph is defined. Similarly, the range is the interval over the y-axis where the graph is defined.
Notice that the given graph corresponds to a segment of a line that connects the points (-3,-5) and (2,5). The segment includes the point (2,5) but not (-3,5).
Then, the interval over the x-axis where the graph is defined corresponds to the numbers between -3 and 2, including 2 but not -3. Using interval notation:
The interval over the y-axis where the graph is defined corresponds to the numbers between -5 and 5. including 5 but not -5. Using interval notation:
Therefore, the domain and range of the graph are:
Domain: (-3,2]
Range: (-5,5]