Respuesta :

As written, the denominator in both fractions is x, so the only restriction on the domain is ... x ≠ 0.

_____

We suspect you intend ...

... f(x) = 2/(x-4) +1/(x+2)

which is undefined when x = 4 or x = -2.

The domain is all real numbers except -2 and 4.