vacuum pipe help needed on 1989 sporty 1.6EL


hi me again, can somebody tell me where the two vacuum pipes should go/come from for the advance and retard on the distributor, i have a car with almost NO vacuum hoses i have a work shop manual and I'm slowly replacing them but i just cant work out where these two come from. The diagram shows HD-E, HD-E, engines what one do i have? how do i tell? do i need a VTV? the diagram also shows the two pipes as MAIN and SUB! where do i put the MAIN to/from and the SUB to/from.