A pie graph has four unequal slices representing a sample of n people taste testing their favorite soft drink. Eight more people join the sample and three-fourths of them choose Coca-Cola as their favorite soft drink. This result make the Coca-Cola slice increase to exactly 54% of the total graph. How many people were initially in the sample? Explain your solution.