which of the following lines is perpendicular to the equation given below?

Given data:
The given equation of the line is y=-2x+8.
The slope of the given line is -2.
The slope of the line perpendicular to it is,
[tex]\begin{gathered} m\times-2=-1 \\ m=\frac{1}{2} \end{gathered}[/tex]The standard equation of the line is,
[tex]y=mx+c[/tex]Here, m is the slope of the line.
The second option can be written as,
[tex]\begin{gathered} x-2y=8 \\ 2y=x-8 \\ y=\frac{1}{2}x-4 \end{gathered}[/tex]Thus, option (B) is correct.