Derwin used 6 gallons of paint to paint two rooms. He used 4 gallons to paint one of the rooms. The equation g + 4 = 6 can be used to find the number of gallons g he used to paint The other room. How many gallons of paint did Derwin use to paint the other room?