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