A relation is said to be a function when each input value is related to only one output.
It can also be said that a function is a relation that has only output for any unique input.
In a function, each x-value is related to only one output.
From the relation given here, we have a straight-line graph. Here, each x-value is related to only one y-value.
Since each x-value is related to only one y-value, this relation is a function.
ANSWER:
Yes, this relation is function.