If three metal cubes having sides of 3 cm, 4 cm and 5 cm were melted to make a single cube, what would be the length of the new cube?