Answer:
y = x + 2
Step-by-step explanation:
Please enclose the coordinates inside parentheses:
(5, 7) and (2, 4).
As we move from (2, 4) to (5, 7), x increases by 3 (this is the "run") and y increases by 3 (this is the "rise").
Thus, the slope of the line connecting these two points is
m = rise / run = 3 / 3 = 1, and so, when we use the slope-intercept form of the equation of a straight line, we get:
7 = 1(5) + b, so that b comes out to 2. Then the desired equation is
y = x + 2.