Answer
(a) $x=-8$
(b) $y=5$
Work Step by Step
(a) A vertical line has the form of $x=a$, if the line passes through $(-8,5)$, the equation will be $x=-8$
(b) A horizontal line has the form of $y=b$, if the line passes through $(-8,5)$, the equation will be $y=5$