Hi there!
We can use the conservation of momentum to solve.
m1 = mass of rocket (40,000 kg)
m2 = mass of gas (300 kg)
v1, v2 = INITIAL velocities of rocket and gas (0 m/s)
v1' = FINAL velocity of rocket (+220 m/s, assuming UP to be positive)
v2' = FINAL velocity of gas (- ? m/s, DOWNWARD so negative)
This is an example of a "recoil" collision, so:
Set the two equal:
Plug in the givens: