1) It is a function because for every x, there is only one y. Also, it will pass the vertical line test. Since a function is a special kind of relation, then it is also a relation.
2) It is a relation, but NOT a function. It will not pass the vertical test because there are two y's for an x.
See attached for graphs :)
(Just plot those points, connect and extend them, then add arrows on both ends.)