Imagine there is a tank of unknown gas that contains 53.31% carbon, 35.51% oxygen, and 11.18% hydrogen by mass. At 35.0 °C and 0.470 bar, 2.0 L of the gas has a mass of 3.3 g. Using this information, answer the following questions. a.) What is the empirical formula of the gas?

3 answers

assume 100 grams

then moles C= 53.31/12
moles O2=35.51/32
moles H= 11.18/2

now, divide each of those numbers by the smallest one. you may have to adjust the ratios to make them all whole numbers.

The remaining numbers are the mole ratios in the formula CxOyHz
This answer differs from the other answer you have. I will estimate for the following:
mols of each = grams/ATOMIC MASS or
53.31/12 = 4.44
35.51/16 = 2.22
11.18/1 = 11.2

To find the empirical formula you want the ratio of the elements to each other with the smallest number being 1.00. The easy to do this is to divide the smallest number by itself and divide all of the other numbers by the smallest number. That gives me
O = 2.22/2.22 = 1
C = 4.44/2.22 = 2
H = 11.18/2.22 = 5.04 and this is rounded to a whole number of 5.00
Empirical formula is C2H5O.

You don't need the other information in the problem for the empirical formula; I suspect you did not type in part b question which would be to calculate the molecular formula of the compound. You need that other information to find the molar mass of C2H5O.
dr Bob is correct on the atomic masses, I wasn't thinking.