First find the area of each wall. This is length*width which would be 12*8.5=102. There are four walls in the room because it’s a square so that would be 102*4=408. So the total area you need to paint is 408ft one gallon will cover 75ft so 408/75=5.44 gallons of paint.