A. (5,0),(5,0) - this has repeated x-values with different y-values, violating the vertical line test for functions, so it is not a function.
B. (5,1),(5,1) - this has repeated x-values with different y-values, violating the vertical line test for functions, so it is not a function.
C. (5,25),(2,25) - this has repeated y-values with different x-values, violating the horizontal line test for functions, so it is not a function.
D. This set has distinct x-values with corresponding distinct y-values, so it is a function.