A sugar molecule has twice as many atoms of hydrogen as it does oxygen and one more atom of carbon that oxygen. If a sugar molecule has a total of 45 atoms, how many are oxygen and how many are hydrogen?