That is not a function because it’s a straight line.
EXPLANATION:
The x value of a point where a vertical line intersects a function represents the input for the output y value. If we can draw any horizontal line that intersects a graph more than once, then the graph does not represent a function because that y value has more that one input.