The slope of the line that passes through the points (x1, y1) and (x2, y2) is computed as follows:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/78uaqhwt0aws3qfwxigaftpihnmb1gzxtp.png)
Replacing with the points (-2, -9) and (3, 1),
![y=(1-(-9))/(3-(-2))=(10)/(5)=2](https://img.qammunity.org/2023/formulas/mathematics/college/kafpnebib8zgf4hvuuewvw2nm5dh487h7c.png)
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