quadratic systems of equations