domain is the possible x values of the function. in this case, its a collection of plotted points, so we can just line up the x values of these points.
range is the possible y values of the function. again, we can just look at the y values of the points, line them up, and select our answer.