Quadratic Equation Using Substitution