This is a part-to-whole analogy, so the trick is to describe the first pair in one plain sentence and then look for a second pair that fits the same sentence. Here the sentence is: a nucleus is the core structure located inside a cell. Now try each option in place of cell: is a grain located inside a yolk, no; is a cob located inside a yolk, no; is a fruit located inside a yolk, no, in fact seeds sit inside fruits, an unrelated pairing; is a seed located inside a yolk, no. Only egg works, because the yolk is precisely the part that sits inside an egg, just as the nucleus sits inside the cell. Restated answer: option (d) Egg.