Let 'w' be the pounds of walnuts and 'c' the pounds of cashews. Since we want to mix 8 pounds of cashews with some number of pounds of walnuts that cost $1, we have the expression:

that represents the total mixture of nuts. We also know that each pound of walnut costs 0.8 and each pound of cashews cost 1.25, then:

since c=8, we have the following:

The total cost of the mix must be the sum of the total cost of the walnuts and the total cost of the cashews. Now we can use both equations to get w:

therefore, there must be 10 pounds of walnuts in the mixture