Anyone help? It’s due at 11:59pm, I’ll give brainest at last and plsss explain cuz I have to show my work

Answer: D
40 gold
24 silver
33 Bronze
Step-by-step explanation:
Since all answers have 40 gold medals won we can use this as our default. So 40/5=8 and 8*3 = 24 so the ratio of gold to silver is 40:24. Now to find silver to bronze 24 silver divided by 8=3 and multiplied by 11=33 so the ratios are 40:24:33