Reddit Math Quadratics Problem