Thus
Note that I solved this problem dimensionally. I wanted an answer in grams; after cancelling out the units, I manifestly got an answer in grams. This is a check on whether I divided, multiplied, added correctly. It is all too easy to make an error.