To write the equation of a line, we need to use the slope-intercept form of a linear equation:
y = mx + b
where m is the slope of the line, and b is the y-intercept.
To find the slope, we can use the formula:
m = (y2 - y1) / (x2 - x1)
where (x1, y1) and (x2, y2) are any two points on the line.
Using the given points (-3, -9) and (4, -2), we can calculate the slope:
m = (-2 - (-9)) / (4 - (-3)) = 7/7 = 1
Now that we have the slope, we can use one of the given points to find the y-intercept. Let's use the point (-3, -9):
y = mx + b
-9 = 1*(-3) + b
-9 = -3 + b
b = -6
Therefore, the equation of the line that passes through the points (-3, -9) and (4, -2) is:
y = x - 6