\(B=\dfrac{x-2}{x+2}\cdot\left(\dfrac{5x+10}{7x-14}+\dfrac{x-2}{3x-6}\right)+\dfrac{3\left(x^2-4\right)}{2x^2-8x+8}\)
\(=\dfrac{x-2}{x+2}\cdot\left(\dfrac{5x+10}{7\left(x-2\right)}+\dfrac{x-2}{3\left(x-2\right)}\right)+\dfrac{3\left(x-2\right)\left(x+2\right)}{2\left(x^2-4x+4\right)}\)
\(=\dfrac{x-2}{x+2}\cdot\left(\dfrac{5x+10}{7\left(x-2\right)}+\dfrac{1}{3}\right)+\dfrac{3\left(x-2\right)\left(x+2\right)}{2\left(x-2\right)^2}\)
\(=\dfrac{x-2}{x+2}\cdot\dfrac{3\left(5x+10\right)+7\left(x-2\right)}{21\left(x-2\right)}+\dfrac{3\left(x+2\right)}{2\left(x-2\right)}\)
\(=\dfrac{1}{x+2}\cdot\dfrac{15x+30+7x-14}{21}+\dfrac{3x+6}{2\left(x-2\right)}\)
\(=\dfrac{22x+16}{21\left(x+2\right)}+\dfrac{3x+6}{2\left(x-2\right)}\)
\(=\dfrac{2\left(x-2\right)\left(22x+16\right)+21\left(x+2\right)\left(3x+6\right)}{42\left(x+2\right)\left(x-2\right)}\)
\(=\dfrac{\left(2x-4\right)\left(22x+16\right)+\left(21x+42\right)\left(3x+6\right)}{42\left(x^2-4\right)}\)
\(=\dfrac{44x^2+32x-88x-64+63x^2+126x+126x+252}{42x^2-168}\)
\(=\dfrac{107x^2+196x+188}{42x^2-168}\)