The equation for the line in point-slope form is:
![y-y_1=m(x-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/csobd57zth7rh9k4hz9amldzpq2owf0z4j.png)
Where m is the slope and (x1, y1) is a point of the line. If we have two points (x1,y1) and (x2, y2), the slope is equal to:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/78uaqhwt0aws3qfwxigaftpihnmb1gzxtp.png)
So, replacing (3, -8) and (-2, 5), we get that the slope and the equation of the line are:
![m=(5-(-8))/(-2-3)=(5+8)/(-5)=(-13)/(5)](https://img.qammunity.org/2023/formulas/mathematics/college/stn99toup8cvtu3vym457h06g5q2scer3x.png)
![\begin{gathered} y-(-8)=(-13)/(5)(x-3) \\ y+8=-(13)/(5)(x-3) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/nf03vt96wdnwobjl9u7wrib2gyt2m5dlna.png)
Therefore, the equation in slope-intercept form is calculated as:
![\begin{gathered} y+8=-(13)/(5)x-(13)/(5)\cdot(-3) \\ y+8=-(13)/(5)x+(39)/(5) \\ y=-(13)/(5)x+(39)/(5)-8 \\ y=-(13)/(5)x-(1)/(5) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/58sctpjkztiwo2ureefh39sbjz0dxemwo7.png)
Answer: Point-slope form:
![y+8=-(13)/(5)(x-3)](https://img.qammunity.org/2023/formulas/mathematics/college/or6c8a699sltpqlq5h0c9f1bbng4ne4xm5.png)
slope-intercept form:
![y=-(13)/(5)x-(1)/(5)](https://img.qammunity.org/2023/formulas/mathematics/college/5dgxe0rg51orwjjukns85l6bdks4zcfdrn.png)