As Blhde said, the first is your heater control valve (hot water valve). The vacuum line should be a grey plastic line that runs back and through the firewall in close proximity to the blower motor. It should have vacuum only when the selector control is in the Max AC and in the off position.
The second picture is the evaporator condensate drain tube. This allows the water that accumulates in AC box to drain to the outside.
What your going to need to do is a full vacuum line inspection starting at the engine. There is a line that comes off a vacuum tee that should run down to the vacuum reservoir somewhere on lower right fender. It may be under the air intake box. Here is an example:
Once you find this, ensure the line coming from the engine is in good condition. Next, Inspect the reservoir for cracks or damage. To test the reservoir, disconnect the two vacuum lines, noting which line was connected to which fitting. You'll need a vacuum pump and or gauge. If you have a pump with gauge, attach it to the inlet fitting and plug the outlet and apply vacuum. The reservoir should hold vacuum. If you don't have a vacuum pump, you can leave the vacuum line from the engine connected and attach a vacuum gauge to the outlet fitting. Run the engine for a couple of minutes until the gauge shows vacuum built up. Shut the engine off. The reservoir should hold vacuum as indicated by the gauge. If not, replace the reservoir. Next, follow the other vacuum line to the firewall (should be a black plastic line), checking every inch of it for breaks or melted spots. Here is an example:
If the above checked good. You'll need to move inside the cab. Drop the glove box. Look for the two vacuum lines coming through the firewall (black and grey vacuum lines). These should run to the function selector switch in the center dash. Make sure their in good condition (no breaks or pinched lines). Note the black is the supply line. The grey line comes from the function selector switch and runs back out to the heater control valve (hot water valve).
From there, the selector control branches the vacuum lines to their individual control devices, i.e., vacuum motors that switch the outlet doors for the vents, defrost, floor, recirculation, etc. Any leak in these vacuum lines or motors will cause the system to either not work in certain positions or not work at all depending on how large the vacuum leak is.
Here are some links you can read through that may help: