What are the possible expressions for the dimensions of the cuboids whose volumes

What are the possible expressions for the dimensions of the cuboids whose volumes are given below?
image

image