The egg experiences a certain force due to gravity which is called weight. This is the force that the egg applies on the floor when it falls on it.
From Newton's third law the force will exert a force on the egg which is equal to the weight of the egg.
The 4-cm foam increases the time of impact of the egg reducing the force experienced by the egg.
Thus the correct answer is option D.