Answer:
y = -2x+7
Explanation:
equation of line formula:
![y = mx + c](https://img.qammunity.org/2021/formulas/mathematics/middle-school/d5p8sn51y70ja7s6nuecitlteom5izoed8.png)
m = slope, c = y-intercept
1) find the slope using the given coordinates
slope formula:
![(y2 - y1)/(x2 - x1)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/6zgt2cd0t7kdwkfo014rk2fggn7jes980h.png)
i) (3,1)
x1=3
y1=1
ii) (7,-7)
x2=7
y2=-7
substitute the values into the formula
![m = ( - 7 - 1)/(7 - 3)](https://img.qammunity.org/2021/formulas/mathematics/college/ijyypggrqtbba8yftf0443pn9lz5giqumh.png)
![m = ( - 8)/(4)](https://img.qammunity.org/2021/formulas/mathematics/college/z7stywdeifh1p3mwp2mkevum70uw8rv4fr.png)
![m = - 2](https://img.qammunity.org/2021/formulas/mathematics/college/7tspt3aacm7c4zlka3i9e2wls73m471aau.png)
so now half of the equation is complete as we have the the value of m. substitute the value of m into the slope formula.
![y = - 2x + c](https://img.qammunity.org/2021/formulas/mathematics/college/ag3qyba9plc5qamz0g377cqabz8c1x8qyu.png)
2) find the value of c
to find the value of c, we must substitute either coordinate into the half equation. so, i choose the coordinate (3,1). if you substitute the coordinate (7,-7) , you will get the same value of c.
(3,1)
x = 3
y = 1
![y = - 2x + c](https://img.qammunity.org/2021/formulas/mathematics/college/ag3qyba9plc5qamz0g377cqabz8c1x8qyu.png)
![1 = - 2(3) + c](https://img.qammunity.org/2021/formulas/mathematics/college/cxcuxmc47rmlo752q070dblqu3vmerlvqq.png)
![1 = - 6 + c](https://img.qammunity.org/2021/formulas/mathematics/college/b1193cmmra1sxf99grvggnrsfmn96mf65f.png)
![1 + 6 = c](https://img.qammunity.org/2021/formulas/mathematics/college/yigneygdcjlxq8995ecya3iby00ds191yy.png)
![c = 7](https://img.qammunity.org/2021/formulas/mathematics/college/c5l9f1cptbeiq7hswkot2z3nvle4iwae5t.png)
substitute the value of c into the half equation and that is your straight line equation
![y = - 2x + 7](https://img.qammunity.org/2021/formulas/mathematics/high-school/3c23gsy7osf6t04wzatrd44ehkexkcupsg.png)