For the graphs you use the the method of
Rise(Up) / Run(Down) = Slope
for exmaple the first graph
The rise is 4 (up) and the run (down) is 6 so you divide that being 2/3 the slope.
For the secound part you use the formula
m= rise/run = y2-y1/x2-x1
for exmaple for number 7
(4,9) and (1,6) being (x1, y1) and (x2,y2)
so your rise is 3 and your run is 3 that being 3/3 = 1 so your slope is 1 or m=1