write an equation for the line that passes through (5,-2) AND (10,1)

slope = (-2-1)/(5-10) = 3/5

y - 1 = ((3/5)(x-10)

continue from here to change it to whatever form you need