In order to find the equation of the line, let's use the slope-intercept form of the linear equation and the given points:
[tex]\begin{gathered} y=mx+b \\ \\ (-8,-2)\colon \\ -2=-8m+b \\ \\ (-7,0)\colon \\ 0=-7m+b\to b=7m \\ \\ -2=-8m+7m \\ -m=-2 \\ m=2 \\ \\ b=7\cdot2=14 \\ \\ y=2x+14 \end{gathered}[/tex]