Three metallic solid cubes whose edges are 3 cm, 4 cm and 5 cm are melted and formed into a single cube. Find the edge of the cube so formed.