Using the substitution method on tough linear equations