Word Problems on Volumes of Cubes and Cuboids