Understanding the specific tax requirements for this exchange of goods is not an important detail.
Your overthinking the problem. As posed, the question doesn't even get to the point where the bat and ball have been purchased, which is where tax needs to be paid.
If I'm shopping and someone asks me "I'm sorry, I left my reading glasses at home. Could you tell me the price of the pimentos", then I might say "$2.99 for the jar."
I won't say "$2.99 for the jar, plus applicable sales tax", and neither would the vast majority of people.