Modeling and Solving Two-Step Equations