Ta có : \(x=7\Rightarrow\left\{{}\begin{matrix}8=x+1\\5=x-2\end{matrix}\right.\)
\(\Rightarrow B=x^{15}-8x^{14}+8x^{13}-8x^{12}+...-8x^2+8x-5\\ \\ =x^{15}-\left(x+1\right)x^{14}+...+\left(x+1\right)x-\left(x-2\right)\\ \\=x^{15}-x^{15}-x^{14}+...+x^2+x-x+2\\ \\=2\)