The domain is the set of all values of x on the horizontal axis that satisfies the function. It is between the lowest value on the left and the highest value on the right. We can see that the graph extends to negative infinity on the left and positive infinity on the right. Thus.
Domain = - infinity < x < infinity
The range is the set of all values of y on the vertical axis that satisfies the function. It is between the lowest value at bottom and the highest value at the top. We can see that the graph extends from 2 at the bottom to positive infinity at the top. Thus.
Range = y > 2