Question: what is the slope of the given line segment?
Answer: This is the slope of the line (usually called m). If you need to find the equation of the line simply input all of our knowns into the slope/line formula: y-y1=m(x-x1). For the above example that's y-1=1(x-2). Then simplify and you've got y=x-1.