The domain of a function is all the values 'x' can take. The range of a function is all the values that 'y' can take.
For these given points (1,4) (3,5) (2,7) (5,10) 'x' values are: 1,3,2,5 and the 'y' values are: 4,5,7,10
So Margo is not right, the domain of the function is not 4,5,7,10, that's the range.
The domain is 1,3,2,5