<image>As shown in Figure 1, the shape consists of six small squares each with a side length of 1. This shape can be folded into the cube shown in Figure 2. What is the distance on the cube between vertices A and B in Figure 1? 
