From the statement of the problem, we know that:
• Thomas has 40 cups of flour,
,• he wants to share equally with 5 friends.
If Thomas wants to share equally the cups of flour with his friends, he must give the same number of cups to each friend, that number is given by the quotient:
[tex]\frac{\text{total \# of cups of flour}}{\text{total \# of friends}}=\frac{40\text{ cups}}{5\text{ friends}}=8\cdot\frac{\text{cups}}{\text{friend}}\text{.}[/tex]So each friend will receive 8 cups of flour. Now, because each cup has 4 quarts, each friend will receive:
[tex]8\cdot\frac{\text{cups}}{\text{friend}}\cdot4\cdot\frac{\text{quarts}}{\text{cup}}=32\cdot\frac{\text{quarts}}{\text{friend}}\text{.}[/tex]Answer
Each friend will receive 32 quarts of flour.