It seems my code performs all the requirements, but it is failing still. It says I need to use cube to implement the ninthDegree method. And I am doing that, yet it does not pass. And my code is correct it does not show but i did:
public static long ninthDegree(long a) {
        long b = cube(a) * cube(a) * cube(a);
        return b;