Answer
Please see the work below.
Work Step by Step
We find the mass of the molecule or oxygen gas and $CO_2$ and $H_2O$. Similarly, we can find the mass of C from $CO_2. We can find the formula of the molecule form the mass percentage.
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.