Using the sum and product of roots method, a quadratic equation can be written as x squared minus (sum of roots)x plus (product of roots) equals 0. For the roots 3 and -2, the sum is 1 and the product is -6. Substituting these values gives x squared minus x minus 6 equals 0.