8 gallons of water added during the first hour
10 gallons of water added during the second hour
10 gallons of water added during the third hour
14 gallons of water added during the fourth hour
The total gallons of water added by the fourth hour is 8+10+10+14=<<8+10+10+14=42>>42
The number of gallons in the pool after losing 8 gallons in the fifth hour is 42-8=<<42-8=34>>34
#### 34