Writing Linear Equations From Graphs