Boxes in the copy below highlight the treatment of G5-D5-G4:
And this summary shows how the registers are worked out in terms of tonic/dominant groupings:
Finally, here is the rising line that wends its way up from D5 to the final cadence on G5:
For reference, my table of all the theme types (after Caplin) in Bacquoy-Guedon's examples may be found in Chapter 5 of my PDF essay Dance Designs in 18th and Early 19th Century Music: [link]. Appendix 2 of that same document has a list of direct links to pages with music in some treatises on the Library of Congress site.