Answer:
is the empirical formula of the sample.
Step-by-step explanation:
Mass of magnesium = 450 g
Moles of magnesium =

Mass of bromine = 2.95 g
Moles of bromine =

In order to determine the empirical formula we will divide all the moles of each element with the smallest value of moles.
For magnesium :

For bromine :

The empirical formula of the sample:

is the empirical formula of the sample.