Average of two means the total is twice the average. With ratio 1 : 3, Alfred = 1 unit and Martin = 3 units, so 4 units in all.
Plain numbers are given; italic underlined numbers are worked out.
Alfred had $17 and Martin has $51.
Check: ($17 + $51) ÷ 2 = $34 and 17 : 51 = 1 : 3. ✓