When `2 g` of a gas `A` is introduced into an evacuated flask kept at `25^(@)C`, the pressure is found to be `1 atm`. If `3 g` of another gas `B` is then heated in the same flask, the total pressure becomes `1.5 atm`. Assuming ideal gas behaviour, calculate the ratio of the molecular weights `M_(A)` and `M_(B)`.