solve quadratic inequality