Solving Linear Equations With Multiple Steps