For this case we have that the equation of a line of the slope-intersection form is given by:
![y = mx + b](https://img.qammunity.org/2020/formulas/mathematics/high-school/fc4cgm6covys37zv2opmmp9ps4jxyjepvh.png)
Where:
m: It's the slope
b: It is the cut-off point with the y axis
![m = \frac {y2-y1} {x2-x1}](https://img.qammunity.org/2020/formulas/mathematics/middle-school/vwbaef4ssnrc1aevc78d305xmgngy77lqa.png)
We have the following points:
![(x1, y1): (7,2)\\(x2, y2): (2,12)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/re3rqklf9ewagw3xxjiijdcaxd1w21yel5.png)
Substituting:
![m = \frac {12-2} {2-7} = \frac {10} {- 5} = - 2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/njidj27tbsya5qow9xsq7ki8plza2nf3yy.png)
Thus, the equation is of the form:
![y = -2x + b](https://img.qammunity.org/2020/formulas/mathematics/middle-school/truz3psot3tj3knea562h1a1csjxmzgksa.png)
We substitute one of the points to find the cut point "b":
![2 = -2 (7) + b\\2 = -14 + b\\2 + 14 = b\\16 = b](https://img.qammunity.org/2020/formulas/mathematics/middle-school/6s6np2dbkmzxfzfzwv3bk5r6tg9gjqp7p1.png)
Thus, the equation is:
![y = -2x + 16](https://img.qammunity.org/2020/formulas/mathematics/college/dnbbwurl78rqbxy7znt0ag6kqq2ln2snmo.png)
Answer:
![y = -2x + 16](https://img.qammunity.org/2020/formulas/mathematics/college/dnbbwurl78rqbxy7znt0ag6kqq2ln2snmo.png)