The two masses add up to twice the average. The heavier boy is 3 units and the lighter is 1 unit, so 4 units in all.
Plain numbers are given; italic underlined numbers are worked out.
The heavier boy has a mass of 63 kg.
Check: (63 + 21) ÷ 2 = 42 kg and 63 = 3 × 21. ✓