Question 622369
Let g = the number of gold coins weighing 8 g
Then 42 - g = the number of silver coins weighing 5 g
We can write the following expression for the total weight:
246 = 8g + 5(42-g)
Simplify and solve for g:
246 = 8g + 210 - 5g
3g = 36
g = 12
So there are 12 gold coins and 30 silver coins
Check:
12*8 + 30*5 = 96 + 150 = 246