a: =>\(2x+7\in\left\{1;-1;2;-2;3;-3;4;-4;6;-6;12;-12\right\}\)
=>\(x\in\left\{-3;-4;-\dfrac{5}{2};-\dfrac{9}{2};-2;-5;-\dfrac{3}{2};-\dfrac{11}{2};-\dfrac{1}{2};-\dfrac{13}{2};\dfrac{5}{2};-\dfrac{19}{2}\right\}\)
b: =>x+2+5 chia hết cho x+2
=>\(x+2\in\left\{1;-1;5;-5\right\}\)
=>\(x\in\left\{-1;-3;3;-7\right\}\)