We are given that the balloon moves downward with a constant acceleration \( a_0 \). Let the mass of sand to be removed be \( m \), and we want the balloon to move upward with a double acceleration \( 2a_0 \).
Step 1: For downward motion, the net force acting on the balloon is: \[ F_{\text{down}} = M \cdot g - M \cdot a_0. \]
Step 2: For upward motion, the net force acting on the balloon after removing mass \( m \) is: \[ F_{\text{up}} = (M - m) \cdot g + (M - m) \cdot 2a_0. \]
Step 3: By equating the two forces, we can solve for \( m \), yielding the mass of sand to be removed: \[ m = \frac{3 M a_0}{g + 2 a_0}. \]
Thus, the mass \( m = \frac{3 M a_0}{g + 2 a_0} \).