sam is carrying a 2 gallon bucket of milk to his house from the barn, which is 3 miles away from his house. however, the bucket has a leak in it. for each mile he walks, there is $\frac{2}{3}$ as much milk in the bucket as at the beginning of the mile. how many gallons of milk will be in the bucket when sam gets home?