\(6x+2=6x-3+5=3\left(2x-1\right)+5⋮\left(2x-1\right)\Leftrightarrow5⋮\left(2x-1\right)\)
mà \(x\)là số nguyên nên \(2x-1\inƯ\left(5\right)=\left\{-5,-1,1,5\right\}\)
\(\Leftrightarrow x\in\left\{-2,0,1,3\right\}\).
\(15⋮\left(5x-1\right)\)mà \(x\)là số nguyên nên \(5x-1\inƯ\left(15\right)=\left\{-15,-5,-3,-1,1,3,5,15\right\}\)
\(\Leftrightarrow x\in\left\{-\frac{14}{5},-\frac{4}{5},-\frac{2}{5},0,\frac{2}{5},\frac{4}{5},\frac{6}{5},\frac{16}{5}\right\}\)
suy ra \(x\in\left\{0\right\}\).