Impossible to calculate with the information provided.
Marble is a naturally occurring blend of minerals, mainly calcium magnesium carbonate (Dolomite) and calcite (calcium carbonate), but there will be other impurities too. You can get an approximate answer by assuming that the marble is 100% calcium carbonate.
However, "2.8 g of hydrochloric acid" is ambiguous. Hydrochloric acid is an aqueous solution of hydrogen chloride, so you would need to state the concentration.
Unless you are considering the reaction of marble and actual gaseous hydrogen chloride gas.....?