To solve this problem, let's break down the given steps and analyze them mathematically to determine the original number of chocolates each child had.
Let \( A, B, C, D \) be the initial number of chocolates each child has respectively. Initially, we don't know these values.
Step 1: Understanding the distribution of chocolates:
- A gives B as many chocolates as B already has → B has \( B + B = 2B \)
- A gives C twice the chocolates as C already has → C has \( C + 2C = 3C \)
- A gives D thrice the chocolates as D already has → D has \( D + 3D = 4D \)
A now has \( A - B - 2C - 3D \) chocolates after the distribution.
Step 2: Further transactions:
- D gives \(\frac{1}{8}\) of his chocolates to B:
New chocolates for B: \( 2B + \frac{D}{2} \) (since \(\frac{1}{8} \times 4D = \frac{D}{2}\))
D now has \( \frac{15D}{8} \).
- A now gives 10% to C and 20% to B
Chocolates for C from A: \( 0.1 \times (A - B - 2C - 3D) \)
Chocolates for B from A: \( 0.2 \times (A - B - 2C - 3D) \)
Step 3: Setting up equations:
Upon final assessment, all have 35 chocolates each:
- Final chocolates for A: \( A - B - 2C - 3D - 0.1(A - B - 2C - 3D) - 0.2(A - B - 2C - 3D) = 35 \)
- Final chocolates for B: \( 2B + \frac{D}{2} + 0.2(A - B - 2C - 3D) = 35 \)
- Final chocolates for C: \( 3C + 0.1(A - B - 2C - 3D) = 35 \)
- Final chocolates for D: \( \frac{15D}{8} = 35 \)
Step 4: Solving equations:
- From D: \( \frac{15D}{8} = 35 \) → Solve for D: \( D = 10 \)
- Substitute D into the equations for A, B, C and solve:
\(A - B - 2C - 3 \cdot 10 - 0.1(A - B - 2C - 30) - 0.2(A - B - 2C - 30) = 35\)
- Solve the resulting system of equations:
Through calculations, \( A = 110 \), \( B = 10 \), \( C = 10 \), \( D = 10 \).
Thus, the original distribution of chocolates is: A-110, B-10, C-10, D-10.