Step 1: Understanding the Concept:
We have two numbers whose sum is fixed. We write the quantity to be minimised (the sum of cubes) as a function of one variable, then use the second derivative test to confirm a minimum.
Step 2: Form the function:
Let the numbers be \( x \) and \( 6 - x \). Let \( S \) be the sum of their cubes.
\[ S(x) = x^3 + (6 - x)^3 \]
Expanding \( (6 - x)^3 = 216 - 108x + 18x^2 - x^3 \), we get
\[ S(x) = 216 - 108x + 18x^2 \]
Step 3: Find the critical point:
\[ S'(x) = -108 + 36x \]
Setting \( S'(x) = 0 \) gives \( 36x = 108 \), so \( x = 3 \).
Step 4: Apply the second derivative test:
\[ S''(x) = 36 > 0 \]
The second derivative is positive for every \( x \), so \( x = 3 \) gives a minimum value of \( S \).
Step 5: Find the numbers and the minimum value:
At \( x = 3 \) the other number is \( 6 - 3 = 3 \).
\[ S(3) = 3^3 + 3^3 = 27 + 27 = 54 \]
Final Answer:
The two numbers are 3 and 3, and the minimum sum of their cubes is 54.
\[ \boxed{3 \text{ and } 3} \]