Three cubes of sides 3 cm, 4 cm, and 5 cm respectively are melted and recasted into a larger cube What is the side of the cube so formed.

A. 12 cm
B. 9 cm
C. 6 cm
D. 8 cm