1- x/x-5+7x/x^2-3x-10

Please simplfy and show all work thank you

-x/(x-5) + 7x/(x^2 -3x-10)

-x/x-5) + 7x (x-5)(x+2)

The first fraction needs a denominator of (x-5)(x+2)

Multiply the num and denom by x + 2

-x^2 -2x +7x = -x^2 +5x num
over (x-5)(x+2)

num factor -x(x-5) cancel the x-5

-x/(x+2)