A Grocer combined walnuts that cost $2.60 per pound, and cashews that cost $3.50 per pound, with 20 lb of peanuts that cost $2.00 per pound. Find the amount of walnuts and the amount of cashews used to make a 50-pound mixture costing $2.72 per pound.