The domain is the set of all first elements of ordered pairs (x-coordinates). The range is the set of all second elements of ordered pairs (y-coordinates). Only the elements "used" by the relation or function constitute the range.
To determine the value of , we want to be 1, so that . Notice that if , then , so the value of is simply . From the graph, it appears that , so therefore .