The ratio of weights of zinc and copper in an alloy is 5:8. If the weight of copper in a sample of this alloy is 12 g, what is the weight of zinc?