The roots of a quadratic equation are \(\frac{-1}{2}\) and \(\frac{2}{3}\). Find the equation.