If 6.5g of magnesium ribbon reacts completely with Hydrochloric acid, how many grams of hydrogen…