Take advantage of all your powers of thought, and try to find a way to get him from the planet. You will need to continually address the various logical tasks and lead him through obstacles and so achieve the portal, which it will transport him in these 20 levels.