You can put two cakes at a time, that is, bake two cakes on one side for 2 minutes.
Frying 2004 cakes takes 2004 times. (In 2004, one page was ***4008, with two sides at a time, so it was used 2004 times. )
2004 * 2 = 4008 (minutes)