I can get you started, but I'm here at the horse barn grooming horses and cleaning stalls. See if this helps.
It's a Force problem, and governing equations are based on equlibrium of force. At the point of equilibrium and limit, you have M mass of liquid such that the tube is full on the open side, and the added liquid has compressed the sealed air volume on the other end. The key in this problem is that the line of liquid moves up as the air is compressed.
Force of the liquid pushing upwards on the air bubble = Force of the compressed air pushing down
Left side is dependent on the resulting delta in liquid height at the equilibrium point. Force pushing up can be expressed in that height difference using a new variable (say, L2) which is the height that the liquid moves upward to compress the air. Using that new variable, express in terms of M mass added, which you need to translate into units of length l using density and radius. Thinking a bit on this, this is the tough part.
Right side requires a compressibility factor for air. Does the question give you that force expression in terms of the height movement?
Once you have both sides, solve for L2, and you will get M mass.
Sorry for the rambling description but I'm on my smartphone
Manfred
Edit: Actually, you don't need compressibility or spring force.
Force of the liquid pushing upward on the air bubble due to difference in height + force of sea level air pressure = force of air pushing down on liquid after being compressed more than sea level density