If the given line is of the form y = k, then it's not hard to see that the locus consists of two lines, namely y = k - 2 and y = k + 2. However .....

Did you have a particular NON-horizontal line in mind (eg. y = x) or did you want the locus for the general non-horizontal line y = mx + c ...?