The definition of a function is a mathematical correspondence that assigns exactly one element of one set to each element of the same or another set.
The above means that for every x value must correspond only one value of y. Graphically this means if you draw a vertical line only cut cross the function graph once.
In the option you have the (1) is the only which satisfy the function definition.