When the gas bubble is at a height y from the bottom, its temperature is
Since the process is adiabatic,
= constant for gas inside bubble.
Thus, constant
constant
Tagged Multi-step processes and gas-piston-spring systems. Machine-assigned, so read it as a strong shortlist rather than a verdict.