the given line is
[tex]y=-\frac{1}{2}x+4[/tex]it has slope m equal to
[tex]m=-\frac{1}{2}[/tex]anb y-intercept b equal to 4.
Since we need a perpendicular line, we know that this new line must have a "reciprocal inverse" slope mp for the
given m, that is
[tex]m_p=-\frac{1}{m}[/tex]In our case,
[tex]m_p=-\frac{1}{-\frac{1}{2}}[/tex]which is equal to,
[tex]m_p=2[/tex]Hence, the form of our perpendicular line is
[tex]\begin{gathered} y=m_px+c \\ or \\ y=2x+c \end{gathered}[/tex]we only need the y-intercept c. In order to find c, we must use the given point (-8,2).
By substituying this point into the last equation, we have
[tex]2=2(-8)+c[/tex]hence,
[tex]\begin{gathered} 2=-16+c \\ c=2+16 \\ c=18 \end{gathered}[/tex]Finally, the perpendicular line is
[tex]y=2x+18[/tex]