Merge two lines.