To express the metrics of the table in units of mass, instead of Amount of substance, simply replace 'mol' with 'g' and 'M' with 'g/dm3'.
To convert the metrics from the table to units of mass, change 'moles' to 'grams' and 'molarity' to 'grams per cubic decimeter'.