Cubing multiplies a number by itself three times. A negative base has a negative cube.
A positive integer is a perfect cube if every exponent in its prime factorisation is a multiple of 3.
In prime factorisation, take one factor from each group of three identical primes. For a negative cube, take the negative of the root of its magnitude.