The graph of the function is
As you can see in the graph, the function is linear, that is, it is a line that continues indefinitely in each direction.
By definition, The domain of a function f(x) is the set of all values for which the function is defined, and the range of the function is the set of all values that f takes.
Regarding the domain of a linear function, any real number can be substituted for x and get a meaningful output.
As for the range of a linear function, for any real number, you can always find an x value that gives you that number for the output.
Therefore, the domain and range of this function are all real numbers.