how to graph and solve quadratic inequalities