The table shows the quantities of eggs, flour, and sugar used by a certain baker to make one cake of each of the three different types. If the baker had 24 eggs, 30 cups of flour, and 10 cups of sugar available and had to make 2 angel food cakes and 1 devil's food cake, what is the maximum number of pound cakes that the baker could make with the remaining ingredients?