Simplify and show steps:

5x^2/x^3-x^2

I bet you mean

5 x^2 / (x^3-x^2)

5 x^2 /[ x^2(x-1) ]

5 / (x-1)