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,
The standard equation of the line is,
Here, m is the slope of the line.
The second option can be written as,
Thus, option (B) is correct.