In this case, according to the Dalton's law, which explains that the total pressure of a gaseous system equals the sum of the partial pressures of the gases composing, for the gaseous mixture composed by oxygen, nitrogen and carbon dioxide it would be possible to write:
Now, given the pressure of the system and those of oxygen and nitrogen, we calculate that of carbon dioxide as shown below: