A block has a volume of 36 cubic units. It has 9 layers of cubic units. How many cubic units are in each layer?