Each batch of trail mix has 12 ounces of ingredients:
7 ounces almonds + 5 ounces raisins.
A pound = 16 ounces
The ratio of almonds to trail mix is 7/12.
7/12 • 16 ounces = 28/3 ounces of almonds
The ratio of raisins to trail mix is 5/12.
5/12 • 16 ounces = 20/3 ounces of raisins.