Two pipes A and B can fill a tank in 40 and 48 minutes respectively, and a waste pipe can empty 5 gallons per minute. All the three pipes working together can fill the tank in 30 minutes. The capacity of the tank is:
1
450 gallons
2
500 gallons
3
400 gallons
4
480 gallons
5
465 gallons