One batch of pink paint uses 2 cups of red paint and 7 cups of white paint. Mai made a large batch of pink paint using 21 cups of white paint. How many cups of red paint did she use?