Answer:
y = x + 7
Explanation:
Calculate the slope of a line that passes through (-2,5) and (1,8). The slope is the Rise/Run between the 2 points:
Rise = (8 - 5) or 3.
Run = (1-(-2)) = 3
Rise/Run, the slope m, is 3/3 or 1.
The equation can be written as y = 1x + b.
We need to find a value of b that forces the line though both points. Do that by entering one of the two points into y = 1x + b and solve for b. I'll use point (1,8)
y = x + b
8 = 1 + b
b = 7
The equation becomes y = x + 7
See the attached graph.