Answer
$y=\frac{1}{2}x+5.$
Work Step by Step
We know that by the Slope Formula: if $P_1(x_1,y_1)$ and $P_2(x_2,y_2)$ are on a line, then the slope is: $m=\frac{y_2-y_1}{x_2-x_1}$.
Hence here: $m=\frac{8-4}{6-(-2)}=\frac{1}{2}.$
We know that if the slope of a line is $m$ and it contains $P_1(x_1,y_1)$, then its equation is: $y=m(x-x_1)+y_1.$
Hence here: $y=\frac{1}{2}(x-6)+8=\frac{1}{2}x-3+8=\frac{1}{2}x+5.$