Graphically solving a system of linear equations