Quantity of both milk and flour to make a cake for 6 persons = (1 +2 1/2) cups
= (1 + 5/2) cups = (2 + 5)/2 cups = 7/2 cups
Let the quantity of both milk and flour to make a cake for 8 persons be x cups.
According to the given question,
Thus, 14/3 = 4 2/3 cups of both flour and milk will be needed to make a cake for 8 people.