đk : x khác -3 ; 3 ; - 7
\(P=\left(\dfrac{x^2+1-x\left(x-3\right)-5\left(x+3\right)}{x^2-9}\right):\left(\dfrac{2x+10-x-3}{x+3}\right)\)
\(=\left(\dfrac{1+3x-5x-15}{x^2-9}\right):\left(\dfrac{x+7}{x+3}\right)\)
\(=\dfrac{-2x-14}{x^2-9}:\left(\dfrac{x+7}{x+3}\right)=\dfrac{-2}{x-3}\)