Need help don’t know what to do I’m confused

Answer:
-x + y = 8
Step-by-step explanation:
Slope = [tex]\frac{y2-y1}{x2-x1}[/tex]
= [tex]\frac{10-7}{2-(-1)} = \frac{3}{3} or 1[/tex]
slope = 1, m represents the slope
y - y1 = m(x - x1)
choose any point ( -1, 7 ) or ( 2,10 )
y - 7 = 1( x + 1 )
y - 7 = x + 1
-x + y = 8