Answer:
The first egg is thrown at a wall and breaks because it has no time to decelerate and it breaks.
While, when a second egg is thrown at wall with same velocity and collides with a bed sheet, it does not break because it get more time to decelerate or collide with the wall. It reduces the amount of force exerted on the egg and it does not break.