prompt: 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?
messages.content: 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?
messages.role: user
messages.content: Nina made 2 cake layers which were equal to 2 x 12 = <<2*12=24>>24 cupcakes.
  She made the equivalent of 24 + 12 = <<24+12=36>>36 cupcakes in all.
  Thus, there are 720 / 36 = <<720/36=20>>20 grams of sugar in a cupcake.
  #### 20
messages.role: assistant