Percent by mass of each element in a compound