A recipe calls for 2/3 cup of sugar for every 1/4 cup of butter. If you have 3 cups of sugar, how many cups of butter do you need to use to maintain the same ratio? Let's think step by step and output the final answer within \boxed{}.
user