Forty-two cubes with 1 cm edges are glued together to form a solid rectangular block. If the perimeter of the base of the block is 18 cm, then the height, in cm, is<spanclass=′latex−bold′>(A)</span>1<spanclass=′latex−bold′>(B)</span>2<spanclass=′latex−bold′>(C)</span>37<spanclass=′latex−bold′>(D)</span>3<spanclass=′latex−bold′>(E)</span>4