For the equation of line equidistant from both lines, we will find point through which line passes and is equidistant from both line.
As any point lying on y = 8 line is (0, 8) and on y = - 2 is (0, - 2), so mid - point is
(x, y) = (0+0/2, 8-2/2)
(x, y) = (0, 3)
So, equation of line is y = 3.