\(3x+2⋮x-1\)
\(\Leftrightarrow3\left(x-1\right)+5⋮x-1\)
\(\Leftrightarrow5⋮x-1\)
\(\Leftrightarrow\left(x-1\right)\inƯ\left(5\right)\)
\(\Leftrightarrow\left(x-1\right)\in\left\{\pm1;\pm5\right\}\)
\(\Leftrightarrow x\in\left\{-4;0;2;6\right\}\)
Vậy để \(3x+2⋮x-1\) thì \(x\in\left\{-4;0;2;6\right\}\)
b) \(x^2+2x-7⋮x+2\)
\(\Leftrightarrow x\left(x+2\right)-7⋮x+2\)
\(\Leftrightarrow7⋮x+2\)
\(\Leftrightarrow\left(x+2\right)\inƯ\left(7\right)\)
\(\Leftrightarrow\left(x+2\right)\in\left\{\pm1;\pm7\right\}\)
\(\Leftrightarrow x\in\left\{-9;-3;-1;5\right\}\)
Vậy để \(x^2+2x-7⋮x+2\) thì \(x\in\left\{-9;-3;-1;5\right\}\)