Given data:
The given set is G={(0,-5), (-5,2), (8,5), (8,-8)}.
The first value gives the domain of the function.
D={0,-5,8,8}
={0,-5,8}
The second value gives the rannge of the function.
R={-5, 2, 5,-8}
Thus, the domain of the function is {0,-5, 8} and the range of the function is {-5, 2, 5, -8}.