For a function, domain means the x value & range is the y value. So, simply, substitute each value in the domain for the x in your function, and you'll find the range.
Here're the answers:
g(0)=(0)^2+2
g(0)=2
g(2)=(2)^2+2
g(2)=6
g(5)=(5)^2+2
g(5)=27
g(9)=(9)^2+2
g(9)=83
Hope this helps!