Sarah is baking cookies and needs to mix sugar and flour in a specific ratio. The recipe requires that the amount of flour be $\frac{3}{4}$ of the amount of sugar. If she needs to prepare a total of 7 cups of mixture, how many cups of sugar and flour should she use? Let's think step by step and output the final answer within \boxed{}.
user