5 * 16g = 80 g
10% of 80g = 8 g of silver and therefore 90% of 80g = 72g = (80-8) g of gold.
X is the amount of silver added
Then there is (X+80)g of the alloy which STILL contains 72 g of gold, since only silver was added.
72/ (x+80) = 0.8 <--- it must contain 80% gold
72 = 0.8 ( x+80)
72 = 0.8 x + 64
8 = 0.8x
80 = 8x
x = 10
So adding 10 grams of silver will do the trick... let's see.
Adding 10 grams of silver means there is going to be 90 grams of total metal alloy:
72 grams of gold and 8+10 = 18 grams of silver
72/90 = 8/10 = 4/5 = 0.8 = 80% , so yes it is correct
10 grams of silver will reduce the amount of gold to 80%