The volume of a cube is 8a cubic units. If three such identical cubes are stacked, what is the total surface area of the cuboid formed?