2 is an x-value in the table, but not a y-value, so it is in the domain and not in the range.