Remember that
The Domain is the set of all the input values, which are the x-coordinate of each ordered pair (the first number in each pair).
The Range is the set of all output values, which are the y-coordinate of each ordered pair (the second number in each pair).
In this problem we have
(2,9), (3,4),(-1,2), (6, 1)
therefore
The domain is the set (2,3,-1,6)
The range is the set (9,4,2,1)