A rectangular prism has a base that measures 8 centimeters by 4 centimeters and has a height of 3 centimeters. The prism is filled with ½ centimeter cubes.

A. How many layers of cubes will there be?
B. What is the perimeter of the base of this rectangular prism in centimeters?