Modeling two step equations