From the information, the vapor density of gas X is obtained as 8. The vapor density is half of the relative molecular mass of the compound.
The term vapor density is defines as half of the relative molecular mass of a compound. Now we have the relative molecular mass of the compound as 16.
It the follows that the vapor density of the compound must be 16/2. Hence, the vapor density of the diatomic gas X is 8.
Learn more about vapor density of a gas: https://brainly.com/question/1195343