Solving for length of interior design in a cube