The total number of eggs Sam bought is 6, and 2 of them have white shells while 4 have brown shells. Therefore, the fraction of eggs with white shells is:
2/6 = 1/3
Similarly, the fraction of eggs with brown shells is:
4/6 = 2/3
One egg is cracked out of the 6 eggs, so the fraction of cracked eggs is:
1/6
To summarize:
Fraction of eggs with white shells = 1/3
Fraction of eggs with brown shells = 2/3
Fraction of cracked eggs = 1/6