Assuming, as usual, that the composition of the unknown compound is given in mass percentages, since we know that we have 2.880 g of this compound, we can apply each percentage to get the mass we will get of each element.
For carbon, we have 66.05%, so:
For oxygen, we have 23.18%, so:
For hydrogen, we have 6.72%, so:
For nitrogen, we have 4.05%, so: