I'm not certain I'm understanding exactly what your question is... if I am understanding, it sounds like you just need to merge the vertices of the two edges together.