What number would you use to complete the table so that it is a function?Fill in the red question mark

In order to have a function we can't repeat any value in the x, therefore in order to have a function represented in the table the question mark must be 2