For this case we have that by definition, the volume of a rectangular prism is given by:

Where:
It is the area of the base
h: It is the height
So:

The volume of the prism is:

Now, the volume of the cubes is:

Thus, we divide and find the number of cubes to fill the prism:

ANswer:
n = 2.5
8 3/4+n+2 3/8+ 23 1/8
8 3/4+n+ 25 4/8
35/4+ n+ 204/8
70/8 +n+ 204/8
274/8 +n
n= -274/8= -25 1/2
Step-by-step explanation:
0.5 ( r + 2.75 ) = 3
r + 2.75 = 3 / 0.5
r + 2.75 = 6
r = 6 - 2.75
r = 3.25
23/6
Now how many times does 6 go in 23 ???
The answer is 3 times
So, Remaining
= 23 - (6×3)
= 23- 18
= 5
So, the mixed fraction would be
= 3 5/6