a) the rise in the roof is a reference to the change in the y axis in correspondence to the x axis, which is referred to as the horizontal change. to find the slope, put the rise 8 on the top and 24 on the bottom since the slope is the rise/run. The slope should be 1/3.
b) To find the slope for b), remember the formula y2-y1/x2-x1= slope. So minus y1(5) by y2(6) and divided by x2(2)-x1(3). The answer would be -1.
c) Rearrange the equation and you will find it's actually y=-9x+7, so the slope would be -9