Solve Simple Algebraic Equations