The ratio of white flour to whole wheat flour in a bread recipe is 2:3. The recipe uses 10 cups of flour. How much of each type of flour is needed?