Simplifying Simple Algebraic Expressions