Malik runs a farm stand that sells bananas and grapes. Each pound of bananas sells for $2 and each pound of grapes sells for $1. Malik made $64 from selling a total of 50 pounds of bananas and grapes. Determine the number of pounds of bananas sold and the number of pounds of grapes sold.