human
Compared to the amount of water she drank, Carla drank three times as much soda minus 6 ounces. If she drank 54 ounces of liquid total, how much water did she drink?
assistant
How many ounces of water did Carla drink? ** Let s be the amount of soda Carla drank and w be the amount of water she drank. We know that s + w = 54 and s = 3w - 6. Substituting the second equation into the first, we get 3w - 6 + w = 54.
How many ounces of water did Carla drink? ** Combining like terms, we get 4w - 6 = 54
How many ounces of water did Carla drink? ** Adding 6 to both sides, we get 4w = 60
How many ounces of water did Carla drink? ** Dividing both sides by 4, we get w = 15
#### 15