solve systems of equations by substitution