Let \[f(x) = \frac{3x - 7}{x + 1}.\] Find the domain of $f$. Give your answer as an interval.

Please give the answer in interval notation! I tried (-inf, 3)U(3, inf) but it is not the answer.

\(f(x) = \frac{3x - 7}{x + 1}\)

x+1=0

x=-1

(-inf, -1)U(-1, inf)