[tex] \frac{3x^{2} - 31x - 25}{(x + 1)(x^{2} - 7x - 8)}[/tex]
[tex] \frac{3x^{2} - 31x - 25}{x^{3} - 7x^{2} - 8x + x^{2} - 7x - 8} [/tex]
[tex] \frac{3x^{2} - 31x - 25}{x^{3} - 7x^{2} + x^{2} - 8x - 7x - 8} [/tex]
[tex] \frac{3x^{2} - 31x - 25}{x^{3} - 6x^{2} - 15x - 8} [/tex]