\(\dfrac{x^4-10x^2+9}{x^4+8x^3+22x^2+24x+9}\)
\(=\dfrac{x^4-x^2-9x^2+9}{x^4+x^3+7x^3+7x^2+15x^2+15x+9x+9}\)
\(=\dfrac{x^2\left(x^2-1\right)-9\left(x^2-1\right)}{x^3\left(x+1\right)+7x^2\left(x+1\right)+15x\left(x+1\right)+9\left(x+1\right)}\)
\(=\dfrac{\left(x^2-3^2\right)\left(x^2-1\right)}{\left(x+1\right)\left(x^3+7x^2+15x+9\right)}\)
\(=\dfrac{\left(x-3\right)\left(x+3\right)\left(x-1\right)\left(x+1\right)}{\left(x+1\right)\left(x^3+x^2+6x^2+6x+9x+9\right)}\)
= \(\dfrac{\left(x+3\right)\left(x-3\right)\left(x-1\right)\left(x+1\right)}{\left(x+1\right)\left[x^2\left(x+1\right)+6x\left(x+1\right)+9\left(x+1\right)\right]}\)
= \(\dfrac{\left(x+3\right)\left(x-3\right)\left(x-1\right)\left(x+1\right)}{\left(x+1\right)\left(x+1\right)\left(x^2+2.3x+3^2\right)}\)
= \(\dfrac{\left(x-3\right)\left(x-1\right)}{\left(x+1\right)\left(x+3\right)}\)