Baskets of tomatoes cost $3 each and bags of onions cost $4 each. A customer purchases x baskets of tomatoes and y bags of onions.

What does the expression 3x+4y represent?

The expression 3x+4y represents the total cost of the customer's purchase, which is 3x dollars for the baskets of tomatoes and 4y dollars for the bags of onions.