A cubeAhas side thrice as long as that of cubeB. What is the ratio of the volume of cubeAto that of cubeB?