Answer:
24 water bottles
18 sports drinks
Explanation:
Let's set up a system of equations based on the given information.
Let
be the number of water bottles sold and
be the number of sports drinks sold.
The total number of items sold is given as 42:

The total sales from water bottles and sports drinks is $120:

Now, we can solve this system of equations to find the values of
and
.
Let's use the first equation to express
in terms of
:

Now, substitute this expression for
into the second equation:

Distribute the 2 on the left side:

Combine like terms:

Divide by 2:


Now that we have the value for
, substitute it back into the expression you found for
:

So, Matt and Ming sold 24 water bottles (
) and 18 sports drinks (
).