a painter bought 8 gallons of paint,just enough to cover two rooms.one room is twice the size of the other and requires 3 coats of paint.the smaller room requires only 2 coats.then the client decided not to paint the smaller room at all.how many gallons of paint are left