Determine the equation of the line that goes through the points (-2,1) and (-1,10

the slope is (10-1)/(-1+2) = 9

so,
y-1 = 9(x+2)