Solve simple systems of equations with linear and quadratic equations