State the domain of the following relation and state if it is a function.
(3, 2), (4, 1), (4, 5), (5, 1)

A. {3, 4, 5}; Yes
B. {1, 2, 5}; Yes
C. {3, 4, 5}; No
D. {1, 2, 5}; No