If the volume of a cube is X cubic meters and the total surface area of the cube is X square meters, then what is the cube's edge length?