Question 12436
The slope (m) of a line passing through the two points, (x1, y1) and (x2, y2) is given by:

{{{m = (y2-y1)/(x2-x1)}}} Substitute the x and y-coordinates of the two given points to find the slope, m.

{{{m = ((1/2)-2)/(-1-(1/2))}}}

{{{m = (-3/2)/(-3/2)}}}

{{{m = 1}}} The slope is: m = 1

To graph the line, you will need to find the equation of the line. 
You can use the slope-intercept form: y = mx + b.  You have just found m (=1), now, into the formula, you substitute the x and y-coordinates of either one of the two given points, then you'll solve for b, the y-intercept. Let's use the first point (1/2, 2).

{{{y = mx + b}}}

{{{2 = (1)(1/2) + b}}} Simplify and solve for b.

{{{2 = 1/2 + b}}} Subtract 1/2 from both sides.

{{{3/2 = b}}}

Now you can write the equation of the line that passes through the  two given points.

{{{y = x + 3/2}}}  Let's see what the graph of this line looks like.

{{{graph(300,200,-5,5,-5,5,x+(3/2))}}}