The mass of a cube is directly proportional to the cube of its side
M=ro*V, ro - density, V- volume. V=a^3 a- side. M=ro*a^3
M=p*v=p*a^3 а значит пропорционален