Step 1: Define the initial quantities.
Let the number of coins in box A and box B be 17x and 7x respectively.
Initial coins in A = 17x,
Initial coins in B = 7x.
Step 2: After shifting 108 coins from A to B.
New number of coins:
A: 17x - 108,
B: 7x + 108.
Given that the new ratio is 37 : 20:
(17x - 108) / (7x + 108) = 37 / 20.
Step 3: Solve for x.
Cross-multiply:
20(17x - 108) = 37(7x + 108)
340x - 2160 = 259x + 3996
340x - 259x = 3996 + 2160
81x = 6156
x = 6156 / 81 = 76.
Step 4: Find the current number of coins in each box.
After the first shift:
Coins in A = 17 * 76 - 108 = 1292 - 108 = 1184,
Coins in B = 7 * 76 + 108 = 532 + 108 = 640.
Total coins:
1184 + 640 = 1824.
Step 5: Make the ratio 1:1.
For a 1:1 ratio, both boxes must have:
Target in each box = 1824 / 2 = 912.
Currently, box A has 1184 coins, so coins to be shifted from A to B:
Shift needed = 1184 - 912 = 272.
(Alternatively, let the further shift be y, then:
(1184 - y) / (640 + y) = 1
1184 - y = 640 + y
2y = 544
y = 272.
Thus, the number of coins that must be shifted further from A to B is 272.