Comment on Unknown008's post
This is not a homework problem but a problem for a contest. You are allowed to solve it for me. Please do so with numbers. Thank you for your help.
Comment on jcaron2's post
The volume of the liquid is 80 ml. The volume of the cube beaker is 125. The volume of the cylinder is 125pi (392.7). I got that far but I am stuck after that.
Comment on jcaron2's post
Excellent! Now you just need to do as Unknown008 said. If you call the volume of liquid in one container V1, and the volume of the other V2, you know that V1 + V2 = 80 cm^3. Just plug in the appropriate formulas for V1 and V2 in terms of unknown h (you already did it for a known h of 5 cm for each), then solve for h.