You can start by setting up two equal ratios to form the proportion:
[tex]\begin{gathered} a\colon b=c\colon d \\ 10\text{ cups of flour : 15cups of sugar = x : 24 cups of sugar} \end{gathered}[/tex]Where x is the cups of flour that should be used.
Now, you can rewrite the ratios as fractions:
[tex]\begin{gathered} \frac{a}{b}=\frac{c}{d}\text{ by replacing the values} \\ \frac{10}{15}=\frac{x}{24}\text{ to find x multiply both sides by 24} \\ 24\times\frac{10}{15}=24\times\frac{x}{24}\text{ simplify} \\ \frac{240}{15}=x\text{ reorder terms} \\ x=\frac{240}{15}=16 \end{gathered}[/tex]Thus, if 24 cups of sugar are used, 16 cups of flour should be used