Let the mixture contain $v_{1}$ and $v_{2}$ moles of $H_{2}$ and $H_{e}$ respectively. If molecular weights of $H_{2}$ and $H_{e}$ are $M_{1}$ and $M_{2}$, then respective masses in the mixture are equal to
$$
m_{1}=v_{1} M_{1} \text { and } m_{2}=v_{2} M_{2}
$$
Therefore, for the total mass of the mixture we get,
$$
m=m_{1}+m_{2} \text { or } m=v_{1} M_{1}+v_{2} M_{2}
$$
Also, if $v$ is the total number of moles of the mixture in the vessels, then we know,
$$
v=v_{1}+v_{2}
$$
Solving (1) and (2) for $v_{1}$ and $v_{2}$, we get,
$$
v_{1}=\frac{\left(v M_{2}-m\right)}{M_{2}-M_{1}}, \quad v_{2}=\frac{m-\sqrt{r} M_{1}}{M_{2}-M_{1}}
$$
Therefore, we get $m_{1}=M_{1} \cdot \frac{\left(v M_{2}-m\right)}{M_{2}-M_{1}}$ and $m_{2}=M_{2} \frac{\left(m-v M_{1}\right)}{M_{2}-M_{1}}$
or,
$$
\frac{m_{1}}{m_{2}}=\frac{M_{1}}{M_{2}} \frac{\left(v M_{2}-m\right)}{\left(m-v M_{1}\right)}
$$
One can also express the above result in terms of the effective molecular weight $M$ of the mixture, defined as,
$$
M=\frac{m}{v}=m \frac{R T}{p V}
$$
Thus, $\frac{m_{1}}{m_{2}}=\frac{M_{1}}{M_{2}} \cdot \frac{M_{2}-M}{M-M_{1}}=\frac{1-M / M_{2}}{M / M_{1}-1}$
Using the data and table, we get :
$$
M=3 \cdot 0 \mathrm{~g} \text { and, } \frac{m_{1}}{m_{2}}=0.50
$$