Well, we know that
And thus if we assume that carbon dioxide behaves ideally (which is a reasonable assumption, then we have
And thus there is a
And likewise there is
And you should not have to remember the atomic masses (tho you will soon retain the common masses) because you should be provided with a Periodic Table.