Vick bought a group of eggs. 1/2 of the eggs were white. 1/2 of the remaining eggs were brown. There were 8 chocolate brown eggs. How many eggs were there altogether?

1/2 were white

1/4 were brown (half of half)
if 1/4 of them are 8
then all of them are 32