Craft a musical work based on the specified structure and given theme.
X:1
L:1/8
M:2/2
K:D
['A>fd>A F>dA>F C2 (3ggg g>ec>A', 'd2 (B>.c) b>a^g>f ^g>af>^g e2 c>d a>=gf>e'  
X:1
L:1/8
M:2/2
K:D
 (3(uFG^G) | (vA>.a)(f>.d)"^SEGUE" A>fd>A | F>dA>F D>"^4"AF>D | C2 (3ggg g>ec>A | 
 F2 (3ufff (3fed (3dcB | vA>af>d A>fd>A | F>dA>F D>"^4"AF>D | C2 (3ggg g>ec>A | d2 f2 d2 :: 
 (B>.c) | (^d>.B)(d>.f)"_SEGUE" b>a^g>f | ^g>af>^g e2 c>d |"^4" e>Ac>"^0"e a>=gf>e | 
 f>ge>f d2 (3(df"^1"a) |"^4" d'2"^4" ^c2 d2 (3(dfa) | d'2 c2 d>cd>e | =f>d'b>^g"^1" =f>dB>d | 
 =c>"^4"c'^g>=f d>B (3(AB=c) | d>a^f>d A>fd>A | F>dA>F D>AF>D | C2 (3ggg g>ec>A | 
 F2 (3fff (3fed (3dcB | A>af>e ^d>bb>f | a>gf>g B>gf>e | (3def g>a b>ag>e | d2 f2 d2 :|  