Dear student,
Please find the attached solution to your problem below.
When 2 grams of a gas A is introduced in an evacuated flask kept at 25 C; the pressure was found to be 1 atm .i.e.
Partial Pressure of gas A = 1 atm.
And let moles be nA = 2/Ma
if 3 g of another gas B is then added to the same flask;
Partial Pressure of gas B =1.5 atm – 1 atm. = 0.5 atm
moles of gas B = 3/Mb
Again the temp and volume are constant therfore,
P1/n1 = P2/n2
hence,
1/(2/Ma) = 0.5/(3/Mb)
Ma/2 = 0.5Mb/3
Ma/2 = Mb/6
Ma = Mb/3
or
Ma/Mb = 1/3 = 1:3
Hope it helps.
Thanks and regards,
Kushagra