\(\left(x-1\right)⋮\left(x+5\right)\)
\(\Rightarrow\left[\left(x+5\right)-6\right]⋮\left(x+5\right)\) mà \(\left(x+5\right)⋮\left(x+5\right)\)
\(\Rightarrow6⋮\left(x+5\right)\)
\(\Rightarrow\left(x+5\right)\in\left\{1;2;3;6;-1;-2;-3;-6\right\}\)
\(\Rightarrow x\in\left\{6;7;8;11;4;3;2;-1\right\}\)