Reach the teleport at the end of each level. Press Z to jump and X to teleport to the alternate reality.