Since we know that our given are:
Volume which is denoted by v; and
Diameter which is denoted by d.
Since we are looking for an equation:
The question clearly states that "v varies directly as the cube of d" means that for some constant c,
v = c d^3 [where ^ specifies the 3 is an exponent]
so
c = v / (d^3)