Construct a musical work following the provided guidelines and thematic elements.
X:1
L:1/8
M:4/4
K:C
['G>AG>F E>Gc>d e>cg>e c2 d>c (3BBB d>B', 'AG F>DF>A c>AF>A G>FG>B d>BG>B e>cA>e d>BG>B'  
X:1
L:1/8
M:4/4
K:C
 E>F | G>AG>F E>Gc>d | e>cg>e c2 d>c | (3BBB d>B G>AB>G | (3ccc ec G>EF>^F | G>AG>F E>Gc>d | 
 e>cg>e c2 d>c | (3BBB d>B G>AB>G | (3ccc B>d c2 :|[K:Dmix] AG | F>DF>A c>AF>A | G>FG>B d>BG>B | 
 e>cA>e d>BG>B | A>d^c>e d2 d>^d | e>cG>c e>gf>e | (3ddd B>G D>^CD>^D | E>cA>G F>dc>A | 
 (3GGG F>A G2 :|  