Solving a System of Equations