Answer
$y=-2x+16$
Work Step by Step
Let $(x_{1},y_{1})=(7,2)$ and $(x_{2},y_{2})=(2,12)$
The slope of the line is
$m=\frac{y_{2}-y_{1}}{x_{2}-x_{1}}=\frac{12-2}{2-7}=\frac{10}{-5}=-2$
We can write the equation of a line using the value of slope $m=-2$ and the point $(7,2)$.
$y-y_{1}=m(x-x_{1})$
$\implies y-2=-2(x-7)$
$\implies y=-2x+14+2$
$\implies y=-2x+16$