Don't know if it's the same in Linux, but in Windows Xara you select both lines and then Arrange/Join. Then zoom in a see where they joined and you will most likely see they really do not connect so use the shape editor tool to pick up one and set it over the other until the plus sign appears. Then they will truly be joined.