In the first strain, transposition of the basic idea up a fourth to begin the consequent phrase generates overall a scalewise ascent through the octave D5-D6 before a sudden, very direct descent in the cadence. In the "cut-out" below the score, see the underlying pattern of parallel 10ths that propel the figure.
The second strain uses a different motive and by no means so clear a melodic frame but it does succeed in ending with a steadily rising cadence gesture that covers the second phrase.