Write a word problem with fractions and ratios

A baker has a recipe that calls for 1/4 cup of sugar for every 1/2 cup of flour. If the baker needs to make a cake that requires 3 cups of flour, how much sugar will they need?