Answer:
x ∈ (-∞ , -2) ∪ (-1, 1)
Explanation:
The expression is already factored. Note that for the polynomial that appears in the numerator
there is 1 root:

For the polynomial that appears in the denominator there are 2 roots:

Note that
and
does not belong to the domain of f(x) because it zeroes the denominator of the function and the division between zero is not defined.
With these three roots we do the study of signs to find out when

Observe the attached image
Note that:
when

when

when

Finally, we have the solution:
x ∈ (-∞ , -2) ∪ (-1, 1)