the diagram shows how to connect two different lines