f(x) = x - 2/ (x^2 - 4)

This is what I got:

D = x is not 2, -2, x is all real numbers

Range = y is all real numbers

Are these answers right, and if so how do i write it in notation?

would the first one be something like

(-inf, -2) U (-2,2) U (-2, inf)

and the second one is it: (-inf, inf)