The slope of the line that passes through the points (x1, y1) and (x2, y2) is computed as follows:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]Replacing with the points (-2, -9) and (3, 1),
[tex]y=\frac{1-(-9)}{3-(-2)}=\frac{10}{5}=2[/tex]The slope-intercept form of a line is:
y = mx + b
where m is the slope and b is the y-intercept
Replacing with m = 2 and point (3,1) into the equation, we get:
1 = 2(3) + b
1 = 6 + b
1 - 6 = b
-5 = b
Therefore, the equation is:
y = 2x - 5