Here, we should use combined gas law which can be derived from combined gas law, “PV=nRT”. Rearranging, we can get PV/T=nR. Then we can set the two states in the problem together to get
To convert from grams to moles, you divide the number of grams by the molar mass To convert from moles to grams, you multiply by the molar mass. You must first calculate the molar mass of the substance