A water tank is 5/8th full. When 100 gallons of water is used the tank is half full. What is the capacity of the water tank?

Answer: 
800
A water tank is 5/8th full. When 100 gallons of water is used the tank is half full. What is the capacity of the water tank?