Yes, because you have different inputs, each associated with its output: your pair of values are suggesting a function f such that
![f(3)=-5,\quad f(1)=2,\quad f(-1)=-4,\quad f(-2)=2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/q6n4j2h9osnmxzim9xzr920lut5pcmpbqe.png)
So, you're never associating an input with two different outputs, so the relation is a function.
If, for example, you added the point (3, 55), you would introduce ambiguity, because you'd have
![f(3)=-5](https://img.qammunity.org/2020/formulas/mathematics/middle-school/rot4n6zc7sospeztsyspanr4mjq3r9e27p.png)
but also
![f(3)=55](https://img.qammunity.org/2020/formulas/mathematics/middle-school/9gn7katqeaq63cw3vhjage79jehkq27iqa.png)
which is not acceptable for a function.