\(B=\frac{10^{2n}-1}{9}+\frac{10^n-1}{9}+6.\frac{10^n-1}{9}+8\)
\(B=\frac{10^{2n}}{9}-\frac{1}{9}+\frac{10^n}{9}-\frac{1}{9}+\frac{6.10^n}{9}-\frac{6}{9}+8\)
\(B=\left(\frac{10^n}{3}\right)^2+2.\frac{10^n}{3}.\frac{8}{3}+\left(\frac{8}{3}\right)^2-10^n=\left(\frac{10^n}{3}+\frac{8}{3}\right)^2-10^n\)