how to determine the roots or given the sum and product of roots?