Answer
The number of oxygen atoms is 11, the number of carbon atoms is $12$ and the number of hydrogen atoms is $22$
Work Step by Step
Let the number of oxygen atoms be $x$, then the number of carbon atoms is $x+1$ and the number of hydrogen atoms is $2x$. Then our equation is $x+1+x+2x=45\\4x=44\\x=11$. Thus the number of oxygen atoms is 11, the number of carbon atoms is $12$ and the number of hydrogen atoms is $22$