16oz of nails is to be made of a combination of nails one that costs four dollars per oz and another that costs eight dollars per oz. How many oz of each kind of nails would you need to equal 16oz of a mixture of nails that costs seven dollars per pound?

What formula would I use to solve this question?

Never mind. I figured this one out on my own!