a:
ĐKXĐ: \(x\notin\left\{5;-5;-1;0\right\}\)
\(P=\left(\dfrac{15-x}{x^2-25}+\dfrac{2}{x+5}\right):\dfrac{x+1}{2x^2-10x}\)
\(=\left(\dfrac{15-x}{\left(x-5\right)\left(x+5\right)}+\dfrac{2}{x+5}\right)\cdot\dfrac{2x\left(x-5\right)}{x+1}\)
\(=\dfrac{15-x+2\left(x-5\right)}{\left(x-5\right)\left(x+5\right)}\cdot\dfrac{2x\left(x-5\right)}{x+1}\)
\(=\dfrac{x+5}{\left(x+5\right)}\cdot\dfrac{2x}{x+1}=\dfrac{2x}{x+1}\)
b: Thay x=1 vào P, ta được:
\(P=\dfrac{2\cdot1}{1+1}=\dfrac{2}{2}=1\)