a: \(=\dfrac{6}{x+1}+\dfrac{4}{x-1}-\dfrac{10}{\left(x-1\right)\left(x+1\right)}\)
\(=\dfrac{6x-6+4x+4-10}{\left(x-1\right)\left(x+1\right)}=\dfrac{10x-12}{\left(x-1\right)\left(x+1\right)}\)
b: \(=\dfrac{1}{x}-\dfrac{1}{x+2}+\dfrac{1}{x+2}-\dfrac{1}{x+4}+\dfrac{1}{x+4}-\dfrac{1}{x+6}+\dfrac{6}{x}=\dfrac{1}{x}+\dfrac{6}{x}=\dfrac{7}{x}\)