Final answer:
To find the weight of metal B in the alloy, subtract the weight of metal A from the total weight of the alloy. In this case, metal B is 87.5% of the alloy's weight.
Step-by-step explanation:
To find the weight of metal B in the alloy, we need to know the total weight of the alloy and the weight of metal A. Since metal A is 12.5% of the alloy, metal B must be 100% - 12.5% = 87.5% of the alloy. Therefore, the weight of metal B in the alloy is 87.5% of the total weight.
Let's say the total weight of the alloy is 100 grams. Then the weight of metal B would be 87.5 grams.