Equation Problems with Substitution