A piece of magnesium ribbon reacts with hydrochloric acid to produce magnesium chloride. what is the empirical formula of the compound, that is 25.3% magnesium and 74.7% chlorine.