Answer
$y = x+5$
Work Step by Step
The line passes through the points (-1,4) and (2,7).
We will use the formula:
$\frac{Y_2 - Y_1}{X_2-X_1} = m$
Let's replace the values with point coordinates:
$\frac{7 - 4}{2-(-1)} = m$
We now have the slope:
$m = \frac{3}{3} = 1$
Now with a point and the slope we can use the formula:
$y - Y_1 = m(x - X_1)$
Let's replace the values with the point and the slope:
$y - 4 = 1 (x - (-1))$
$y = x + 1 + 4$
$y = x + 5$