First plot y = x+2 and y = x on the same set of axes:
Chop off the right part of the graph of y = x+2 at (0,2),
and put an open circle there to show that it DOES NOT include
that point.
Chop off the left part of the graph of y = x at (0,0),
and put a closed circle there to show that it DOES include
that point.
Since all real numbers may be substituted for x and a value of y
obtained, the domain is ALL REAL NUMBERS
Since all real numbers can be obtained for y by substituting the
proper value of x, the range is also ALL REAL NUMBERS
Edwin