Answer:
$15
Explanation:
Let A, B, C and D represent the four friends respectively.
Given the following data;
Amount earned by A = $15
Amount earned by B = $20
Amount earned by C = $25
Amount earned by D = $40
Total amount earned = 15 + 20 + 25 + 40
Total amount earned = $100
For an equal ration, each friend should be given;
Each earnings = total amount earned/number of friends
Substituting into the equation, we have;
Each earnings = 100/4
Each earnings = $25
Hence, for D with $40, would become;
D = $40 - $25
D = $15
Therefore, D would give A $10 and give B $5.