Solving a system of linear equations using the substitution method.