If this is your problem
You have the fraction below
(x3 - x2)/(x2 + 4x - 5)
Factor the numerator and denominator
x2(x - 1)/(x + 5)(x - 1)
The quantity (x - 1) is common to the numerator and denominator and cancels out
x2/(x + 5)
If you have any questions please send me a message.