Answer:
216 cubes.
Step-by-step explanation:
The easiest way to take on this problem is to divide the side of the bigger cube by the smaller one.

Then, as in with volume, we cube this value to find the number of cubes necessary to fill such a space.

Use slope formula: y2-y1/x2-x1
XZ: -5/9
YZ: 2/7
XY: -7/2
XYZ is a right triangle because two of these slopes have a product of -1.
(YZ and XY does). We are all busy these days.
Sum of square of two sides must be equal to the square of third side.
So we assume that x=x and y=y is true for both situations so
3x+2y=-2
6x-y=6
6x-y=6
add y to both sides
6x=6+y
subtract 6 from both sides
6x-6=y
subsitute (6x-6) for y in first equation
3x+2(6x-6)=-2
distribute
3x+12x-12=-2
add like terms
15x-12=-2
add 12 to both sides
15x=10
divide both sides by 15
x=2/3
subsitute
3x+2y=-2
3(2/3)+2y=-2
6/3+2y=-2
2+2y=-2
subtract 2 from both sides
2y=-4
divide both sides by 2
y=-2
x=2/3
y=-2
solution in (x,y) form
(2/3,-2)