Solving using the Substitution Method