Slope of a Line
Suppose we know the line passes through points A(x1,y1) and B(x2,y2). The slope can be calculated with the equation:

Two clear points are visible in the graph of the figure: (0,1) and (4,0).
Note: I'm assuming each division of the grid has a measure of one unit.
Applying the formula:

The slope of the line is -1/4.