Melting changes the shape, not the amount of metal, so the volume before equals the volume after.
Equating surface areas, or dropping the from the sphere's volume
Set the volumes equal and cancel before you multiply; the answer is usually a perfect cube.