Solving Systems of Equations by Matrices