You can put this solution on YOUR website! slope=(y2-y1)/(x2-x1)=(2-7)/(1+6)=-5/7
now replace thw x,y terms by one set of coordinates & solve for the y intercept(b) in the line equation [Y+mX+b].
7=-5/7*-6+b
7=30/7+b
b=7-30/7
b=(49-30)/7
b=19/7 the y intercept.
y=-5x/7+19/7 (graph 300x200 pixels, x from -6 to 5, y from -10 to 10, -5x/7 +19/7).