(x)/(x-3)-4-(2x-5)/(x+2)

I posted something before this, so now this is how far I got.
The answer I know is -(5x^2-17x-9)/(x-3)(x+2)

first I get

(x)(x+2)/(x-3)(x+2)- (4)(x-3)(x+2)/(x-3)(x+2)-(2x-5)(x-3)/(x-3)(x+2)
Then I get

x^2+2x-4x^2-4x-24-2x^2-11x+15 (for the top)

When I put everything together I get

(-5x^2 -13x -9)/ (x-3)(x+2)

as you can see however I am having a problem with + and - because I get -13x instead of -17x so could you look at what I am doing wrong and explain it to me?

The top should be this:

x^2 + 2x - 4x^2 + 4x + 24 - 2x^2 + 11x - 15

Combining like terms:

-5x^2 + 17x + 9

Factoring out the negative gives this:

-(5x^2 - 17x - 9)

This should help you see the answer given:

-(5x^2-17x-9)/(x-3)(x+2)

I hope this helps. Watch those negative signs because they can be tricky on these types of problems!

It seems like there was a mistake in your calculations. Let's go through the steps again and find out where the error occurred.

Starting from the expression:

(x)/(x-3) - 4 - (2x-5)/(x+2)

To simplify it, we need to find a common denominator for all the terms. The common denominator is (x-3)(x+2).

So let's rewrite the expression with this common denominator:

(x)(x+2)/(x-3)(x+2) - 4(x-3)(x+2)/(x-3)(x+2) - (2x-5)(x-3)/(x-3)(x+2)

Now, let's simplify each term:

(x)(x+2) - 4(x-3)(x+2) - (2x-5)(x-3)
= x(x+2) - 4(x^2-x-6) - (2x^2-11x+15)

Expand the terms:

x^2 + 2x - 4x^2 + 4x + 24 - 2x^2 + 11x - 15

Combine like terms:

(-3x^2 + 17x + 9)

Now, remember to distribute the negative sign:

-(3x^2 - 17x - 9)

Finally, you can rewrite it as:

-(5x^2 - 17x - 9)/(x-3)(x+2)

So the correct numerator should be -(5x^2 - 17x - 9), not -(5x^2 - 13x - 9).

Double-check your calculations and make sure you didn't make any errors while combining like terms or distributing the integer.