First pic shows the correct routing of the hose in the first pic, it goes from the back of the intake manifold to the metal tubing.
Second pic shows the second part of the hose after the metal tubing. Both ends are marked with red arrows.
Both pics are of a JDM D15B Vtec, the hose routing is identical in both cases though. Your last pic is of the purge solenoid, which should be setup as follows: vacuum line from back of IM to purge solenoid (short line only 4 - 5 inches long. And from the purge solenoid to the charcoal canister on the firewall.