the percent by mass of the element in a compound is the mass in grams of the element divided by the grams of the compound and then multiplied by 100​