The slope (m) can be calculated using the formula:
m = (y2 - y1) / (x2 - x1)
Let's use (-1, 3) as our first point (x1, y1) and (-3, 1) as our second point (x2, y2):
m = (1 - 3) / (-3 - (-1))
m = -2 / (-3 + 1)
m = -2 / (-2)
m = 1
Now that we have the slope (m = 1), we can use either of the given points and the slope to find the y-intercept (b) using the slope-intercept form of a linear equation, which is y = mx + b.
Let's use the point (-1, 3):
3 = 1 * (-1) + b
3 = -1 + b
b = 3 + 1
b = 4
Now we have the slope (m = 1) and the y-intercept (b = 4), so we can write the equation in slope-intercept form:
y = mx + b
y = 1x + 4
y = x + 4
Therefore, the equation in slope-intercept form for the points (-1, 3) and (-3, 1) is y = x + 4.