You can put this solution on YOUR website! (x^2-a/x)/(a^2-a/x)
= [(x^3-a)/x] / [(a^2x -a)/x]
Invert the denominator and multiply to get:
= [[(x^3-a)/x] * [x/(a^2x -a)]
Cancel the common "x" factor in the numerator and denominator to get:
= (x^3-a)/(a^2x-a)
==================
Cheers,
Stan H.