what line go's where?

What you have there is the early, divorced system. The one on the right is the safety switch. the two ends are internally separated from eachother, by a traveling plunger.It doesn't matter which end goes to the front and which end goes to the rear, whatever is convenient. The bottom is usually for the rear.
Notice that the mounting bracket has a small tab on it. You might find a pair of holes on the driver-side frame just below the M/C, up close to the firewall. That is where I have seen those mounted. Tab in the small hole, bolt in the larger, rear outlet to the bottom.
The other valve is the rear brake proportioning valve, and it goes immediately after the safety sw, and on the it's way to the rear brakes. That valve is directional. If you orient it with the plug down,(as shown) then the topmost port will need to go to the rear brakes, while the lower port will go up to the safety sw.

The pic that Abodyjoe posted is for a Combination valve, which is what replaced what you have, in about 1972.If you look closely you can see where they married them. You can also see it is plumbed exactly the same way. Press his thank button