Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: if the length of an edge of cube p is thrice the length of an edge of cube q , what is the ratio of the volume of cube q to the volume of cube p ?
