A store sells two different types of coffee beans; the more expensive one sells for $8 per pound, and the cheaper one sells for $4 per pound. The beans are mixed to provide a mixture of 50 pounds that sells for $6.40 per pound. How much of each type of coffee bean should be used to create 50 pounds of the mixture?