The equation of the line is y = x + 8
The equation of a line is calculated by using the expression!
y - y1 = m(x-x1)
where m is the slope of the line.
The slope of a line is expressed as;
slope = Y - y)/X - x
slope = 10-7)2-(-1)
slope = 3/3 = 1
therefore the slope of the line is 1.
y - 7 = 1( x -(-1)
y - 7 = x + 1
y = x + 1 +7
y = x + 8
Therefore, the equation of the line is y = x + 8