<human>:  Nina made a two-layer cake and a dozen cupcakes for her friend’s birthday party. Each layer of cake takes the same amount of sugar to make as a dozen cupcakes. Nina used 720 grams of sugar to bake everything. How many grams of sugar are in one cupcake?
<bot>: How many cupcakes did Nina make? ** Nina made 2 cake layers which were equal to 2 x 12 = <<2*12=24>>24 cupcakes.
How many cupcakes did Nina make? ** She made the equivalent of 24 + 12 = <<24+12=36>>36 cupcakes in all.
How many grams of sugar are in a cupcake? ** Thus, there are 720 / 36 = <<720/36=20>>20 grams of sugar in a cupcake.
#### 20