Use long division to find the quotient:

The procedure of the long division is shown:
As we can see, the quotient is x²-x, with a remainder of -23 when the divisor is x+1.
Therefore, we can rewrite the rational expression as:

Where:

Therefore, the answer is:
