In this form, the fraction just looks nasty!!
We can write (color(red)a/color(blue)b)/(color(blue)c/color(red)d)abcd in the much easier form of color(red)(axxd)/color(blue)(bxxc)a×db×c
Let's do the same for (color(red)(x^2-25 )/color(blue)(x^2+6+5))/color(blue)(x / color(red)(x^2))x2−25x2+6+5xx2
=color(red)((x^2-25 )xx x^2)/color(blue)((x^2+6+5)xx x)" Much better!"(x2−25)×x2(x2+6+5)×x Much better!
Now factorise and cancel like factors.
=color(red)(((x+5)(x-5)xx x^2)/color(blue)((x+5)(x+1)xx x)(x+5)(x−5)×x2(x+5)(x+1)×x
= (cancel(x+5)(x-5)xx x^cancel2)/(cancel(x+5)(x+1)xx cancelx)
=(x(x-5))/((x+1))