Finding Solution to System of Equations