the free body diagram for the second case is shown in figure 3(a) and Newton's equations can be written as
Fb = mg forces acting onthe tube(1)
Fs = Mg + Fb foces acting on the beaker's bottom.(2)
From Newton's third Fb = Fb, then substitute(1)in(2)
Fs = Mg +mg