Mass of chromium = 17.82% of 1 gram = 0.1782 grams
Mass of bromine in the first sample:
Mass of bromine = 1 gram - 0.1782 grams = 0.8218 grams
Ratio of chromium to bromine in the first sample:
Cr:Br = 0.1782 grams : 0.8218 grams = 1 : 4.6
Empirical formula of the first bromide:
The empirical formula is CrBr4.6.
Second bromide:
Mass of chromium = 24.55% of 1 gram = 0.2455 grams
Mass of bromine = 1 gram - 0.2455 grams = 0.7545 grams
Ratio of chromium to bromine in the second sample:
Cr:Br = 0.2455 grams : 0.7545 grams = 1 : 3.1
Empirical formula of the second bromide:
The empirical formula is CrBr3.1.
Conclusion:
The two chromium bromides have different empirical formulas, indicating that they are different compounds.