Solving a linear - quadratic system of equations.