Let's calculate
[tex]\\ \rm\Rrightarrow C_6H_{12}O_6[/tex]
[tex]\\ \rm\Rrightarrow 6(12)+12(1)+6(16)[/tex]
[tex]\\ \rm\Rrightarrow 72+12+96[/tex]
[tex]\\ \rm\Rrightarrow 180g/mol[/tex]