Let's solve this problem step by step:
Let the original side length of the cube be "x." So, the volume of the cube is V_cube = x^3.
According to the problem:
1. One dimension is increased by 1: (x + 1).
2. Another dimension is decreased by 1: (x - 1).
3. The third dimension is left unchanged: (x).
The volume of the new rectangular solid is 5 less than that of the cube, so we can set up the equation:
V_new = V_cube - 5
Now, we can calculate the volume of the new rectangular solid:
V_new = (x + 1)(x - 1)x
So, we have:
(x + 1)(x - 1)x = x^3 - 5
Now, let's simplify the equation:
(x^2 - 1)x = x^3 - 5
Now, let's distribute and rearrange:
x^3 - x = x^3 - 5
Now, subtract x^3 from both sides:
-x = -5
Now, divide both sides by -1 to solve for x:
x = 5
Now that we've found the value of x, which is the original side length of the cube, we can calculate the volume of the cube:
V_cube = x^3 = 5^3 = 125 cubic units
So, the volume of the cube was 125 cubic units.
Hence D