Quadratic systems of equations