Quadratic and Linear Simultaneous Equations