In an alloy of gold and silver the ratio of the amount of gold to the amount of silver is 2:5. What is the weight of silver in the alloy if there are 18g of gold?