Work backwards from the 476 eggs remaining at the end.
[[model:questions/solutions/q10427.png]]
After giving to his neighbour, 476 eggs remained. This is 85% of the amount before giving (since 15% was given away).
• Before giving to neighbour = 476 ÷ 85 × 100 = 476 ÷ 0.85 = 560
• 560 is 70% of the remainder after the morning market (since 30% of it was sold in the afternoon).
• Remainder after morning = 560 ÷ 70 × 100 = 560 ÷ 0.7 = 800
• Original number of eggs = 800 + 240 = 1040
The farmer had 1040 eggs at first.
Check: 1040 − 240 = 800; 30% of 800 = 240 sold afternoon; 800 − 240 = 560; 15% of 560 = 84 given away; 560 − 84 = 476. ✓