The correct option is D because there are 4 heaps of cubes and each have 4 cubes so 4 multiplied by 4 = 16 so 16 + the front cubes , there are 10 cubes in one line at up and 10 at bottom so 10 + 10 = 20 + 16 which equals to 36 . Thus it is the correct answer .