There are three gold coins you could have pulled out. Two of them sit in the gold box and one sits in the mixed box, so two times in three the other coin is gold.