Firstly, we will calculate the number of 2 unit cubes in a cube measuring 8 units

A cube of 8 units is made up of 4 x 4 x 4 = 64 cubes of 2 units

Secondly, we will calculate the number of 2 unit cubes in a cube measuring 12 units

A cube of 12 units is made up of 6 X 6 X 6 = 216 cubes of 2 units

Therefore, The answer will be : 216 - 64 = 152 cubes of 2 units