To determine how long the water in the cooler will last, we need to set up an equation that incorporates the total amount of water available and the rate at which water is consumed.
The total amount of water in the cooler is 1,280 ounces (since 10 gallons equals 1,280 ounces), and the office workers consume 30 ounces of water each hour.
Let \( h \) represent the number of hours the water lasts. The amount of water consumed after \( h \) hours is \( 30h \) ounces. We need to find when the total amount of water consumed equals the amount of water available in the cooler.
So, we can set up the equation:
\[ 1,280 - 30h = 0 \]
This equation indicates that when the total water in the cooler (1,280 ounces) minus the amount consumed (30h ounces) is equal to zero, the water is gone.
Thus, the correct response is:
1,280 - 30h = 0