What are the domain and range of the function {(0, 2), (-2, 4), (2, 8), (1, 6), (-5, 0)}?

1. Domain: {2, 4, 8, 1, -5}; Range: {0, -2, 6}

2. Domain: {0, -2, 6}; Range: {2, 4, 8, 1, -5}

3. Domain: {2, 4, 8, 6, 0}; Range: {0, -2, 2, 1, -5}

4. Domain: {0, -2, 2, 1, -5}; Range: {2, 4, 8, 6, 0}

Please help. Is it 4.D? or 1.A? neither?

The domain is the set of first numbers of the pairs: {0,-2,2,1,-5}

the range is the set of second numbers: {2,4,8,6,0}

Looks like D to me.