Do you know the "cubic formula"? If a and b are any two numbers, then
[tex](a- b)^3= a^3- 3a^2b+ 3ab^2- b^3[/tex]
and
[tex]3ab(a- b)= 3a^2b- 3ab^2[/tex]
so that [itex](a- b)^3+ 3ab(a- b)= 0[/itex]. That is, if we let x= a- b, m= 3ab, and [itex]n= a^3- b^3[/itex], then [itex]x^3+ mx= n[/itex].
And, we can do this "the other way around"- knowing m and n, solve for a and b and so solve the (reduced) cubic equation [itex]x^3+ mx= n[/itex]. From m= 3ab, b= m/(3a) and then [itex]n= a^3- m^3/(3^3a^3)[/itex]. Multiplying by [itex]a^3[/itex] gives [itex]na^3= (a^3)^2- (m/3)^3][/itex] which is a quadratic in [itex]a^3[/itex], [itex](a^3)^2- na^3- (m/3)^3= 0[/itex], which can be solved by the quadratic equation:
[tex]a^3= \frac{n\pm\sqrt{n^2+ 4(m/3)^3}}{2}= \frac{n}{2}\pm\sqrt{(n/2)^2+ (m3)^3}[/tex]
Since [itex]a^3- b^= n[/itex],
[tex]b^3= a^3- n= \frac{n}{2}\mp\sqrt{(n/2)^2+ (m/3)^3}[/tex]
and x is the difference of cube roots of those.
The point is that, in this problem, the numbers are given in exactly that form! We can work out that n/2= 10 so n= 20, and that [itex](n/2)^2- (m/3)^3= 100- (m/3)^3= 108[/itex] so that (m/3)^3= -8, m/3= -2, and m= -6.