I think it must mean two two tubes are connected to different vessels with different pressures inside them.
The solution says P₁ and P₂ are the pressures in the air just above the top of the water, and this only makes sense if the tops of the tubes are connected to different pressures.
The diagram does not make this clear ...