Three faces of a square right prism-shaped board are painted white, and the other three faces are painted red. The sum of the areas of the white-painted faces is 76 square units, and the sum of the areas of the red-painted faces is 12 square units.
Accordingly, what is the volume of this board in cubic units?
A) 18
B) 24
C) 27
D) 32
E) 36