Mixing two kinds of candy the price of which was $2 and $4 per pound, Ella got a 10-lb mix of candy, which cost $2.90 per pound. How many pounds of each kind of candy were used for the mix?