Solving a Linear System using Substitution