(d)
Moles of $H_{2} = \frac{w}{2},$ and ethane $= \frac{w}{30}$
Total mo. of moles $= \frac{w}{2} + \frac{w}{30} = \frac{16w}{30}$
Partial pressure of $H_{2} = p \times \frac{w/2}{16w/30}\ = \frac{w}{2} \times \frac{30}{16w} = \frac{30}{32} = \frac{15}{16}$