Question 216561
To find the slope of a line (m) when you have two points on that line, use:
{{{m = (y[2]-y[1])/(x[2]-x[1])}}} The x's and y's are the coordinates of the two given point (1,2) and (-6,-5).
{{{m = (-5-2)/(-6-1)}}} 
{{{m = (-7)/(-7)}}}
{{{highlight(m = 1)}}} This is the slope of the line.
To graph this line, it is helpful to have the equation of the line.
Let'e use the slope-intercept form: {{{y = mx+b}}} and we already know the value of m (m = 1), so...
{{{y = (1)x+b}}} To find b, the y-intercept, substitute the x- and y-coordinates of either  one of the two given points.  Let's use the first point (1,2).
{{{2 = (1)(1)+b}}}
{{{2 = 1+b}}} Subtract 1 from both sides.
{{{1 = b}}} Now we can complete the equation and then graph it.
{{{y = x+1}}}
{{{graph(400,400,-7,5,-5,5,x+1)}}}