The combustion of 40.5 mg of a compound containing C, H, and O, and extracted from the bark of the sassafras tree, produces 110.0 mg of CO2 and 22.5 mg of H2O. The molar mass of the compound is 162 g/mol. Determine the empirical and molecular formulas.