Answer :

for points (x1,y1) and (x2,y2)
the slope is (y2-y1)/(x2-x1)

(3,4) and (6,6), slope is (6-4)/(6-3)=2/3

(4,-4) and (2,-7), slope is (-7-(-4))/(2-4)=(-7+4)/(-2)=-3/-2=3/2

for ax+by=c
slope=-a/b
3x+4y=12
slope=-3/4