Simplifying Advanced Algebraic Expressions