Let's assume there are x tea bags in the box.
According to the given information, each tea bag makes either 2 or 3 cups of tea. We can set up the following equation to represent the total number of cups of tea made:
2x + 3x = 41 (for Natalia) 2x + 3x = 58 (for Inna)
Simplifying the equations, we get:
5x = 41 (for Natalia) 5x = 58 (for Inna)
Dividing both sides of each equation by 5, we find:
x = 8.2 (for Natalia) x = 11.6 (for Inna)
Since the number of tea bags must be a whole number, we can conclude that there were:
8 tea bags in Natalia's box 11 tea bags in Inna's box
