The most basic kind of sugar molecule is C6H12O6, although the atoms are arranged differently depending on the type of sugar, and multiple types can combine to make more complex sugar crystals.
for a chemical compound you just put the chemical symbols next to each other with numbers in-between to show they are reacting together you put + and to show what it turns in to you put a arrow.