Solve quadratic equation: