2 is an x-value in the table, so 2 is in the domain of the function.