An ant needs to travel along a 20cm × 20cm cube to get from point A to point B. What is the shortest path he can take, and how long will it be (in cm)?