Solving Simultaneous Equations and Matrices