assuming each cube is of unit dimension first calc the area of sides(vertical) 4(4+3+2+1)=40. now the top surface(horizontal)in the lower most one there will be 7 top surfaces in the next 5 in the next 3 then at last 1 so total 56 this does not include the base