a cube of sides 9 is first painted red and then cut into smaller cubes of side 3 . how many of the smaller cube have painted on exactly 2 sides ?
n = side of big cube / side of small cube and no . of smaller cubes with two surfaces painted is ( n - 2 ) * 12 ( 3 - 2 ) * 12 = 12 ans answer : c
subtract(subtract(multiply(9, 3), add(3, const_4)), multiply(const_4, 2))