[tex]\displaystyle\\
\frac{7}{x+2} \in Z ~~~\Longrightarrow~~~7~\vdots~(x+2)\\\\
DZ_{7} = \{-7;~-1;~1;~7\}\\\\
x+2 = -7 ~~\Longrightarrow~~x_1 =-7-2=\boxed{-9} \\
x+2 = -1 ~~\Longrightarrow~~x_2 =-1-2=\boxed{-3} \\
x+2 = 1 ~~\Longrightarrow~~x_3 =1-2=\boxed{-1} \\
x+2 = 7 ~~\Longrightarrow~~x_4 =7-2=\boxed{5} \\\\
\boxed{B=\{-9;-3;-1;5\}}
[/tex]