Given:
The function is

Consider the given domain of g is {-2,0,2}.
To find:
The solution set if the domain of g for the given domain.
Solution:
Domain is the set of input values and range is the set of output value.
We have,

Domain of g is {-2,0,2}.
For x=-2,



For x=0,



For x=2,



Now, the solution set of the given domain of g is

Therefore, the solution set is {18,12,6}.