What is the domain of the function represented by these ordered pairs?
(2, 5), (3, 5), (4, 7), (10, 7)

A. {3, 5, 10}
B. {2, 3, 4, 5, 7, 10}
C. {5, 7}
D. {2, 3, 4, 10}