The fortieth hexagram, Xie ("Deliverance"), places Zhen (Thunder) above Kan (Water). Thunder and rain breaking loose, the storm that clears a tense and heavy air, gives the image of release from difficulty. It follows Obstruction in the King Wen order, the loosening that follows an impasse.
In the xiantian, or Earlier Heaven, arrangement, the binary order devised by Shao Yong in the eleventh century and traditionally ascribed to Fu Xi, Xie stands 44th of 64, apart from its fortieth position in the King Wen sequence traced above; it was this arrangement the Jesuit Joachim Bouvet sent from Beijing in 1701 to Gottfried Wilhelm Leibniz, who read its broken and unbroken lines as his own binary 0 and 1.
Read from the bottom, the six lines of Deliverance run yin, yang, yin, yang, yin, yin. A later interpretive layer absent from the original Zhou Yi, the nuclear hexagram (hu gua), treats lines two through four as a lower trigram and lines three through five as an upper one; here they combine as Kan over Li, forming hexagram 63, After Completion (Ji Ji), a hidden figure first associated with the Han-dynasty scholar Jing Fang, whose Yijing commentary of the first century BCE is credited with the earliest appearance of nuclear trigrams. Deliverance's King Wen partner is hexagram 39, Obstruction (Jian); most of the sixty-four pair this way, related by turning the whole figure upside down, while the eight hexagrams built from a single doubled trigram pair instead by inverting every line. Mawangdui (1973) orders hexagrams by trigram, not King Wen; names here follow Wilhelm and Baynes, 1950, not Legge, 1882.