Ryan collects rainwater in a barrel for his garden. The barrel is filled with 12 gallons of water. Ryan used 7.4 gallons to water his garden in June and 2 and one eighth gallons in July. How much water is left in the barrel?