Determine whether the relation is a function examples