Answer:
(a) To write g as a set of ordered pairs, we can use the given function values as follows:
g = {(-2, -5), (0, 0), (2, 2), (4, -5)}
(b) The domain of g is the set of all input values for which the function is defined. In this case, the domain is {-2, 0, 2, 4}.
The range of g is the set of all output values that the function can produce. In this case, the range is {-5, 0, 2}.