solve the guadratic function {2/3,1/2}​