Using Graphs To Solve Simultaneous Equations