50 pounds of tomatoes and 30 pounds of bananas cost $39 and 20 pounds of tomatoes and 40 pounds of bananas cost $24, what is the price per pound of tomatoes and bananas?