Well, first, you have to find out how much food each person needs. Assuming everyone eats the same amount, you divide 24 by 6, getting 4 meatballs per person. Then you divide the 4 pounds of pasta by 6, getting .75 pounds of pasta per person. Then you multiply both of those numbers, 4 and .75 by 8, since that is how many people will be eating that night. You get 32 meatballs, and 6 pounds of pasta.