a: \(=x^2-36-x^2-14x-49+14x=-85\)
b: \(=\dfrac{5x+35+4x-28-5x-7}{\left(x-7\right)\left(x+7\right)}=\dfrac{4x}{x^2-49}\)
\(a,\left(x+6\right)\left(x-6\right)-\left(x+7\right)^2+14x=x^2-36-x^2-14x-49+14x=-85\\ b,\dfrac{5}{x-7}+\dfrac{4}{x+7}+\dfrac{5x+7}{49-x^2}=\dfrac{5\left(x+7\right)+4\left(x-7\right)-\left(5x+7\right)}{\left(x-7\right)\left(x+7\right)}=\dfrac{5x+35+4x-28-5x-7}{\left(x-7\right)\left(x+7\right)}=\dfrac{4x}{\left(x-7\right)\left(x+7\right)}\)