Zachary is filling a large bucket with water. It fills up with 2 quarts of water every minute. The bucket can hold 10 gallons of water. It can withstand a weight of 40 lbs. If one quart of water weights 2 lbs, how much time does it take before the bucket either overflows or breaks?