Vapour density of a gas A is three times that of gas B. If the molecular mass of B is X, the molecular mass of A is: