In trail mix, the ratio of cups of peanuts to cups of chocolate candies is 3 to 2. How many cups of chocolate candies would be needed for 9 cups of peanuts?