A recipe calls for a mixture of flour and sugar in the ratio of 2:1. If a baker uses 6 cups of flour, how many cups of sugar should the baker use?