A recipe requires a ratio of 3 parts flour to 2 parts sugar. If you have 9 cups of flour, how many cups of sugar do you need to maintain the ratio? Let's think step by step and output the final answer within \boxed{}.
user