A sample of dolomitic limestone, with a mass of 0.8020 g, is reacted with a hydrochloric acid. The mass of carbon dioxide released is 0.3725g. Assuming the sample has a 1:1 mole ratio of MgCO3 to CaCO3, determine the mass of MgCO3 and mass of CaCO3 in the sample.