Simplification of Rational Algebraic Fraction