Practice: using the quadratic discriminant

Question

Answer