If they are parallel:

Since the slope for y=-5x+8​ is m1=-5:

Let:
(x1,y1)=(0,2)
Using the point-slope equation:

---------------------------------------------------------------------------------------
If is perpendicular to the line equation y=1/2x-3:

Let:
(x1,y1)=(-5,2)
Using the point-slope equation:
