We need to draw rise and run on the given graph to find the slope.
the graph is
Here yellow line represents the rise and the red line represents the run.
The two points on the given line are (0,-8) and (4,0)


We get rise=2 and run=1.
We know that the formula for the slope is


Hence the slope is 2.