Solving Two Step Integer Equations