2: \(\left(\dfrac{7}{a+7}+\dfrac{a^2+49}{a^2-49}-\dfrac{7}{a-7}\right):\dfrac{a+1}{2}\)
\(=\dfrac{7a-49+a^2+49-7a-49}{\left(a-7\right)\left(a+7\right)}\cdot\dfrac{2}{a+1}\)
\(=\dfrac{a^2-49}{\left(a-7\right)\left(a+7\right)}\cdot\dfrac{2}{a+1}=\dfrac{2}{a+1}\)
3: \(=\dfrac{x^4-4x^2+4x^2}{x^2-4}\cdot\left(\dfrac{x+2}{x-4}+\dfrac{2-3x}{x\left(x^2-4\right)}\cdot\dfrac{x^2-4}{x-2}\right)\)
\(=\dfrac{x^4}{\left(x-2\right)\left(x+2\right)}\cdot\left(\dfrac{x+2}{x-4}+\dfrac{2-3x}{x\left(x-2\right)}\right)\)
\(=\dfrac{x^4}{\left(x-2\right)\left(x+2\right)}\cdot\dfrac{x\left(x^2-4\right)+\left(2-3x\right)\left(x-4\right)}{x\left(x-2\right)\left(x-4\right)}\)
\(=\dfrac{x^4}{\left(x-2\right)\left(x+2\right)}\cdot\dfrac{x^3-4x+2x-8-3x^2+12x}{x\left(x-2\right)\left(x-4\right)}\)
\(=\dfrac{x^4}{\left(x-2\right)\left(x+2\right)}\cdot\dfrac{x^3-3x^2+10x-8}{x\left(x-2\right)\left(x-4\right)}\)
\(=\dfrac{x^4}{\left(x-2\right)\left(x+2\right)}\cdot\dfrac{x^3-x^2-2x^2+2x+8x-8}{x\left(x-2\right)\left(x-4\right)}\)
\(=\dfrac{x^3\left(x-1\right)\left(x^2-2x+8\right)}{\left(x-2\right)^2\cdot\left(x+2\right)\left(x-4\right)}\)