use the graph to determine the domain and range of the relation and state whether the relation is a function