What is the domain of the function $f(x)=\frac{x+2}{x^2-2x-24}$? Express your answer in interval notation.
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
What is the domain of the function $f(x)=\frac{x+2}{x^2-2x-24}$? Express your answer in interval notation.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
(-\infty,-4)\cup(-4,6)\cup(6,\infty)
What is the domain of the function $f(x)=\frac{x+2}{x^2-2x-24}$? Express your answer in interval notation.
train